cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A052073 Primes p with the property that nextprime(p) is a substring of p^2.

Original entry on oeis.org

23, 83, 113, 1123, 200003, 328127, 381289, 714597769, 4916552822383
Offset: 1

Views

Author

Patrick De Geest, Jan 15 2000

Keywords

Comments

a(10) > 4*10^13. The prime 482564152712479922509389813571 is also a term. - Giovanni Resta, May 24 2018

Examples

			381289 is a term because nextprime(381289) = 381301 is a substring of 381289^2 = 145381301521.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime@Range[1000000],
    StringContainsQ[ToString[#^2], ToString[NextPrime[#]]] &] (* Robert Price, Oct 12 2019 *)

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