I call a palindrome crazy if it is a prime and has an even number of digits.
If m is the sum of all crazy palindromes, enter your answer as m
Note if no such palindrome exists, enter 3 7
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The divisibility rule of 11 is that the sum of alternating digits, starting with the first, minus the sum of the other digits, gives a result that’s divisible by 11.
Let’s consider a palindrome a b b a . It’s divisible by 11 because a − b + b − a = 0 . 0 is divisible by 11.
The same applies to all other crazy palindromes, EXCEPT for 11 itself, which is prime.
Therefore, the answer is 1 1 .
Let's consider a crazy palindrome of 4 digits a b b a
a b b a = 1 0 0 1 a + 1 1 0 b = 1 1 ( 9 1 a + 2 0 b )
So,it isn't prime as it is divisible by 11
6 digits : a b c c b a
a b c c b a = 1 0 0 0 0 1 a + 1 0 0 1 b + 1 1 c = 1 1 ( 9 9 1 a + 9 1 b + c )
It is also not prime
Same holds true for other even numbers greater than 2 because of divisibility rule of 11 .
2 digits : a a
a a = 1 1 a , when a = 1 we get 1 1 which is prime
So m = 1 1
Surprisingly, it is the only crazy prime in any base
Problem Loading...
Note Loading...
Set Loading...
Let the number be x 1 x 2 x 3 . . . x n x n . . . x 3 x 2 x 1
This number is divisible by 11 because the sum of alternating digits is the same.
Also, the number is prime which implies that the number must be 1 1