The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A056130 Palindromic primes in bases 2 and 4. 2
 3, 5, 17, 257, 5189, 65537, 83269, 86293, 1053953, 1066049, 1134929, 1311749, 1380629, 16864513, 17060929, 17909009, 18153809, 18171217, 21251141, 22103317, 289423441, 290455889, 290735441, 336662789, 336925957, 340873541 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Intersection of A016041 and A029972. 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 Cf. A016041 and A029972. Sequence in context: A176689 A256510 A260377 * A273871 A078726 A019434 Adjacent sequences:  A056127 A056128 A056129 * A056131 A056132 A056133 KEYWORD nonn,base AUTHOR Robert G. Wilson v, Jul 29 2000 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 15 01:24 EDT 2021. Contains 342974 sequences. (Running on oeis4.)