This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A123266 Primes p such that the decimal expansion of p remains prime under two iterations of base-10 to base-2 conversions. 4
 5, 1097, 2237, 2689, 3541, 12979, 13477, 22367, 22783, 27701, 28499, 33521, 33613, 43093, 51839, 55487, 57383, 65423, 69931, 70201, 71429, 74209, 80599, 82267, 82889, 83591, 95009, 99079, 99881, 105929, 122201, 123923, 125261 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Sebastian Petzelberger, Table of n, a(n) for n = 1..10000 Carlos Rivera, Puzzle 280 EXAMPLE 5 is a member because 5_10 = 101_2 and 101_10 = 1100101_2 and both 101 and 1100101 are prime in base 10. MATHEMATICA okQ[n_] := And @@ PrimeQ[Rest[NestList[FromDigits[IntegerDigits[#, 2]] &, n, 2]]]; Select[Prime[Range[20000]], okQ] (* Harvey P. Dale, Jan 14 2011 *) PROG (PARI) A007088(n)=fromdigits(binary(n), 10) is(n)=isprime(n) && isprime(n=A007088(n)) && isprime(A007088(n)) \\ Charles R Greathouse IV, Apr 08 2015 CROSSREFS Cf. A065720, A256621, A256622. Sequence in context: A195535 A004805 A220790 * A303894 A305286 A304899 Adjacent sequences:  A123263 A123264 A123265 * A123267 A123268 A123269 KEYWORD base,nonn AUTHOR Martin Raab, Oct 09 2006 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 October 20 22:44 EDT 2019. Contains 328291 sequences. (Running on oeis4.)