OFFSET
1,1
COMMENTS
Subsequence of primes of A097856. - Michel Marcus, Nov 07 2015
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..1000
EXAMPLE
5 is 101 (base 2) and 11 (base 4), that are both palindromic.
MATHEMATICA
Do[If[PrimeQ[n], t = RealDigits[n, 4][[1]]; If[FromDigits[t] == FromDigits[Reverse[t]], s = RealDigits[n, 2][[1]]; If[FromDigits[s] == FromDigits[Reverse[s]], Print[n]]]], {n, 1, 10^8, 2}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Jul 29 2000
STATUS
approved