The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A065112 Smallest prime whose decimal expansion ends (nontrivially) with the n-th prime; or 0 if no such prime exists. 3
0, 13, 0, 17, 211, 113, 317, 419, 223, 229, 131, 137, 241, 443, 347, 353, 359, 461, 167, 271, 173, 179, 283, 389, 197, 5101, 1103, 5107, 1109, 2113, 4127, 2131, 2137, 4139, 11149, 1151, 4157, 1163, 3167, 6173, 2179, 1181, 3191, 1193, 5197, 6199, 4211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(1) and a(3) (respectively for primes 2 and 5) are trivially zero. All other terms are nonzero by Dirichlet's theorem on arithmetic progressions. - Joerg Arndt, Jun 06 2021
LINKS
MATHEMATICA
f[n_] := (k = 1; While[a = ToExpression[ ToString[k] <> ToString[n]]; ! PrimeQ[a], k++ ]; a); Table[ f[ Prime[n]], {n, 4, 50} ]
CROSSREFS
Cf. A030670.
Sequence in context: A345191 A073867 A114782 * A114783 A094902 A252056
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Nov 12 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 May 20 02:14 EDT 2024. Contains 372703 sequences. (Running on oeis4.)