OFFSET
1,1
COMMENTS
There cannot be 5 consecutive palindromic numbers that are all primes. The central digit of all numbers in the sequence will be 8.
LINKS
Shyam Sunder Gupta, Table of n, a(n) for n = 1..2166
EXAMPLE
1878781 is in the sequence because 1878781, 1879781, 1880881 and 1881881 are consecutive palindromic numbers that are all primes.
MATHEMATICA
a = {}; m = 0; Do[z = n*10^(IntegerLength[n] - 1) + FromDigits@Rest@Reverse@IntegerDigits[n]; If[PrimeQ[z], m = m + 1; If[m == 1, z1 = z]; If[m == 4, AppendTo[a, z1]], m = 0], {n, 1, 1000000000}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Shyam Sunder Gupta, Oct 30 2013
STATUS
approved
