login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065723 Primes p such that the decimal expansion of its base-5 conversion is also prime. 5
2, 3, 13, 23, 41, 71, 83, 101, 163, 191, 211, 281, 283, 311, 331, 463, 503, 571, 613, 653, 701, 743, 823, 863, 881, 983, 1091, 1213, 1231, 1283, 1301, 1373, 1381, 1423, 1471, 1493, 1531, 1543, 1621, 1741, 1783, 1861, 1873, 1931, 2063, 2203, 2213, 2221 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
In general rebase notation (Marc LeBrun): p5 = (5) [p] (10).
LINKS
EXAMPLE
E.g., 2213_10 = 32323_5 is prime, and so is 32323_10.
MATHEMATICA
Select[ Range[2250], PrimeQ[ # ] && PrimeQ[ FromDigits[ IntegerDigits[ #, 5]]] & ]
Select[Prime[Range[400]], PrimeQ[FromDigits[IntegerDigits[#, 5]]]&] (* Harvey P. Dale, Mar 28 2015 *)
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, 5); if (isprime(b), write("b065723.txt", n++, " ", p); if (n==1000, return)) ) } \\ Harry J. Smith, Oct 27 2009
CROSSREFS
Cf. A065720 up to A065727, A065361.
Sequence in context: A133201 A215302 A103150 * A215134 A177746 A024779
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 2001
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 07:33 EDT 2024. Contains 371235 sequences. (Running on oeis4.)