login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A065533
a(n) is smallest prime > 10*a(n-1), a(1) = 3.
1
3, 31, 311, 3119, 31193, 311951, 3119533, 31195343, 311953441, 3119534441, 31195344413, 311953444133, 3119534441393, 31195344413953, 311953444139539, 3119534441395579, 31195344413955853, 311953444139558593
OFFSET
1,1
LINKS
MATHEMATICA
NextPrim[n_Integer] := Block[ {k = n + 1}, While[ !PrimeQ[k], k++ ]; Return[k]]; a[1] = 3; a[n_] := NextPrim[ 10*a[n - 1]]; Table[ a[n], {n, 1, 20} ]
NestList[NextPrime[10#]&, 3, 20] (* Harvey P. Dale, Jul 04 2012 *)
PROG
(PARI) { for (n=1, 100, if (n>1, a=nextprime(10*a), a=3); write("b065533.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 21 2009
CROSSREFS
Cf. A065122.
Sequence in context: A037666 A065837 A100894 * A048550 A236527 A108430
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Nov 28 2001
STATUS
approved