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!)
A065425 Smallest odd prime greater than n such that the decimal expansion of its base n conversion is also prime. 0
3, 67, 5, 13, 7, 17, 11, 37, 11, 31, 13, 29, 17, 41, 17, 37, 19, 41, 23, 53, 23, 113, 31, 53, 29, 109, 29, 61, 31, 71, 41, 89, 37, 73, 37, 83, 41, 89, 41, 109, 43, 89, 47, 101, 47, 97, 61, 101, 53, 113, 53, 109, 61, 113, 59, 137, 59, 127, 61, 131, 71, 137, 67, 139, 67, 137 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
For bases above ten, use multidigit numbers to represent the new number. See the example.
LINKS
EXAMPLE
a(15) = 41. 17d = 12, 19d = 14, 23d = 18, 29d = 114, 31d = 21 and 37d = 27, all of which are composite. But 41d = 211 which is a prime.
MATHEMATICA
Do[ k = PrimePi[n] + 1; While[ !PrimeQ[ FromDigits[ IntegerDigits[ Prime[k], n]]], k++ ]; Print[ Prime[k]], {n, 2, 50} ]
CROSSREFS
Sequence in context: A157576 A339599 A105443 * A096482 A139868 A110716
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Nov 15 2001
EXTENSIONS
More terms from David Wasserman, Aug 30 2002
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)