OFFSET
1,1
COMMENTS
For n>1, since 11 is a proper divisor of a palindrome with 2n digits, the numbers a(n) and A028989(n+1) are consecutive in A002385. - Jeppe Stig Nielsen, Feb 20 2021
LINKS
Jeppe Stig Nielsen, Table of n, a(n) for n = 1..500
Patrick De Geest, World!Of Palindromic Primes
PROG
(PARI) a(n)=forstep(j=10^n-1, 10^(n-1), -1, my(d=digits(j), p=fromdigits(vector(2*n-1, x, if(x<n, d[x], d[2*n-x])))); ispseudoprime(p)&&return(p)); 0 \\ Jeppe Stig Nielsen, Feb 20 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset changed (as it was in A028989) by Jeppe Stig Nielsen, Feb 20 2021
STATUS
approved