Palindromes & Calendar\x05During the month of March,we celebrate Pi Day.I started to think about other special math days we might be able to celebrate.Wouldn’t you know it,we have a special day in October.October 1 is a Palindrome Day.In order to s

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 12:06:40

Palindromes & Calendar\x05During the month of March,we celebrate Pi Day.I started to think about other special math days we might be able to celebrate.Wouldn’t you know it,we have a special day in October.October 1 is a Palindrome Day.In order to s
Palindromes & Calendar
\x05During the month of March,we celebrate Pi Day.I started to think about other special math days we might be able to celebrate.Wouldn’t you know it,we have a special day in October.October 1 is a Palindrome Day.In order to see what I mean,you need to write the date as 101.Got it?
\x05This day not special as Pi Day,because every month has at least one palindrome day,but there are still a few interesting question we can ask related to palindromes:
\x051.How many Palindrome Days are there in a year?
\x052.Which month has the most Palindrome Days?
\x053.Which month has the fewest Palindrome Days?
\x054.How many of these Palindrome Days are also Prime Days?
\x055.How many of these Palindrome Days are also Perfect Square Days?
\x05Bonus:In Many countries the standard for writing a date in numerals is to put the day before the month,so March 23 would be written as 233,and would not be a palindrome.In this system,how many Palindrome Days would there be in a year?

Palindromes & Calendar\x05During the month of March,we celebrate Pi Day.I started to think about other special math days we might be able to celebrate.Wouldn’t you know it,we have a special day in October.October 1 is a Palindrome Day.In order to s
其实,这个就是算一年的月份日期中,有哪几天是回文数,回文数就是从左往右和从右往左是一样的.
(1)11,111,121,131,22,212,222,33,313,323,44,414,424,55,515,525,66,616,626,77,717,727,88,
818,828,99,919,101,111(与第二个一样),1111,121(与第三个),1221,总共30个.
(2)一月份最多,4个
(3)十月份最少,1个
(4)其中质数有:11,131,313,727,919,101,六个
(5)Perfect Square Days:比如1,4,9,16,25,36等.
所以有121,一个
bonus:
有11,111,121,131,141,151,161,171,181,191,22,212,222,232,242,252,262,272,282,292(闰年才有),33,313,44,55,66,77,88,99,111(重复),1111,212,2112,共31个.
你类似以上方法再算算,可能有漏的地方····