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.

A031442 a(0) = 13; for n > 0, a(n) is the greatest prime factor of PreviousPrime(a(n-1))*a(n-1)-1 where PreviousPrime(prime(k))=prime(k-1).

Original entry on oeis.org

13, 71, 41, 379, 23561, 5431, 20269, 89, 1231, 44497, 329952671, 36583, 1126159, 90209117, 14095897, 15272393, 13887359, 256460794943, 2740505805180429880723, 1591234463080874838018721796071210709
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A031441.

Programs

  • Mathematica
    NestList[FactorInteger[#*NextPrime[#,-1]-1][[-1,1]]&,13,20] (* Harvey P. Dale, May 26 2025 *)

Extensions

More terms from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), May 23 2000. a(19) and a(20) pass the strong pseudoprime test for many bases.
Edited by T. D. Noe, Oct 30 2008