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.

A065534 a(n) is smallest prime > 10*a(n-1), a(1) = 5.

Original entry on oeis.org

5, 53, 541, 5413, 54133, 541339, 5413391, 54133921, 541339231, 5413392311, 54133923121, 541339231241, 5413392312463, 54133923124643, 541339231246433, 5413392312464369, 54133923124643743, 541339231246437473
Offset: 1

Views

Author

Robert G. Wilson v, Nov 28 2001

Keywords

Crossrefs

Cf. A065122.

Programs

  • Mathematica
    NextPrim[n_Integer] := Block[ {k = n + 1}, While[ !PrimeQ[k], k++ ]; Return[k]]; a[1] = 5; a[n_] := NextPrim[ 10*a[n - 1]]; Table[ a[n], {n, 1, 20} ]
    NestList[NextPrime[10#]&,5,20] (* Harvey P. Dale, Dec 25 2024 *)
  • PARI
    { for (n=1, 100, if (n>1, a=nextprime(10*a), a=5); write("b065534.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 21 2009