login
A065534
a(n) is smallest prime > 10*a(n-1), a(1) = 5.
1
5, 53, 541, 5413, 54133, 541339, 5413391, 54133921, 541339231, 5413392311, 54133923121, 541339231241, 5413392312463, 54133923124643, 541339231246433, 5413392312464369, 54133923124643743, 541339231246437473
OFFSET
1,1
LINKS
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} ]
PROG
(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
CROSSREFS
Cf. A065122.
Sequence in context: A293082 A069592 A350995 * A186206 A123788 A333096
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Nov 28 2001
STATUS
approved