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.

A381969 Primes p with the property that PreviousPrime(p) is a substring of p^2.

Original entry on oeis.org

3701, 65442077, 8410957371097
Offset: 1

Views

Author

Giorgos Kalogeropoulos, Mar 11 2025

Keywords

Comments

a(4) <= 39835421121719177570419.
p = 1410901659681109388941762308365764228483 is also a member of this sequence and it is the only known term that is the greater of a twin prime pair.

Examples

			3701 is a term because PreviousPrime(3701) = 3697 is a substring of 3701^2 = 13697401.
		

Crossrefs

Cf. A052073.

Programs

  • Mathematica
    Select[Prime@Range[10^4],StringContainsQ[ToString[#^2],ToString[NextPrime[#,-1]]]&]