login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A046484
Primes that are palindromic in bases 10 and 16.
0
2, 3, 5, 7, 11, 353, 787, 94049, 98689, 190080091, 3405684865043, 397922151229793
OFFSET
1,1
COMMENTS
Intersection of A002385 and A029732. - Michel Marcus, Jun 09 2013
EXAMPLE
787_10 = 313_16. - Jon E. Schoenfield, Apr 10 2021
PROG
(PARI) ispal(v) = {for(i=1, #v\2, if (v[i] != v[#v-i+1], return(0)); ); return(1); }; lista(nn) = {forprime(p=2, nn, if (ispal(digits(p, 10)) && ispal(digits(p, 16)), print1(p, ", ")); ); } \\ Michel Marcus, Jun 09 2013
CROSSREFS
Sequence in context: A046481 A082625 A030286 * A346168 A062888 A046483
KEYWORD
nonn,hard,base
AUTHOR
STATUS
approved