|
| |
|
|
A065720
|
|
Primes p such that the decimal expansion of its base 2 conversion is also prime.
|
|
12
| |
|
|
3, 5, 23, 47, 89, 101, 149, 157, 163, 173, 179, 199, 229, 313, 331, 367, 379, 383, 443, 457, 523, 587, 631, 643, 647, 653, 659, 709, 883, 947, 997, 1009, 1091, 1097, 1163, 1259, 1277, 1283, 1289, 1321, 1483, 1601, 1669, 1693, 1709, 1753, 1877
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| In general rebase notation (Marc LeBrun): p(n) = (2) [p] (10).
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n=1,...,1000
|
|
|
EXAMPLE
| E.g. 1009{10} = 1111110001{2} is prime but also 1111110001{10}.
|
|
|
MATHEMATICA
| Select[ Range[1900], PrimeQ[ # ] && PrimeQ[ FromDigits[ IntegerDigits[ #, 2]]] & ]
|
|
|
PROG
| (PARI) baseE(x, b)= { local(d, e=0, f=1); while (x>0, d=x-b*(x\b); x\=b; e+=d*f; f*=10); return(e) } { n=0; for (m=1, 10^9, p=prime(m); b=baseE(p, 2); if (isprime(b), write("b065720.txt", n++, " ", p); if (n==1000, return)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Oct 27 2009]
|
|
|
CROSSREFS
| Cf. A065721 up to A065727, A065361.
Sequence in context: A091157 A199336 A036952 * A148554 A120937 A075307
Adjacent sequences: A065717 A065718 A065719 * A065721 A065722 A065723
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Patrick De Geest (pdg(AT)worldofnumbers.com), Nov 15 2001.
|
| |
|
|