cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A256621 Primes p such that the decimal expansion of p remains prime under three iterations of base-10 to base-2 conversion.

Original entry on oeis.org

3893257, 9023533, 11005327, 11659009, 18747809, 21855233, 25183007, 34074379, 54298687, 58562951, 60496981, 89891273, 94277683, 96602887, 102276859, 115555927, 117578429, 122191543, 125115709, 132837283, 138169991, 139442753, 168852077, 183879649, 184904831
Offset: 1

Views

Author

Sebastian Petzelberger, Apr 06 2015

Keywords

Examples

			The 3 iterations: 3893257 --> 1110110110100000001001 --> ... --> ... are prime.
		

Crossrefs

Programs

  • PARI
    isok(n, nb=3) = {for (k=1, nb, b = binary(n); d = eval(subst(Pol(b), x, 10)); if (! isprime(d), return (0)); n = d;); return (1);} \\ Michel Marcus, Apr 08 2015