login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A052073
Primes p with the property that nextprime(p) is a substring of p^2.
6
23, 83, 113, 1123, 200003, 328127, 381289, 714597769, 4916552822383
OFFSET
1,1
COMMENTS
a(10) > 4*10^13. The prime 482564152712479922509389813571 is also a term. - Giovanni Resta, May 24 2018
EXAMPLE
381289 is a term because nextprime(381289) = 381301 is a substring of 381289^2 = 145381301521.
MATHEMATICA
Select[Prime@Range[1000000],
StringContainsQ[ToString[#^2], ToString[NextPrime[#]]] &] (* Robert Price, Oct 12 2019 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, Jan 15 2000
EXTENSIONS
a(8) from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Sep 04 2006
a(9) from Giovanni Resta, May 24 2018
STATUS
approved