login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..100

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

Adjacent sequences:  A065530 A065531 A065532 * A065534 A065535 A065536

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Nov 28 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 21:28 EDT 2019. Contains 328244 sequences. (Running on oeis4.)