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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053583 a(n+1) is the smallest prime ending with (but not equal to) a(n), where a(1)=3. 7
3, 13, 113, 2113, 12113, 612113, 11612113, 1611612113, 111611612113, 1111611612113, 81111611612113, 2181111611612113, 132181111611612113, 11132181111611612113, 3411132181111611612113, 413411132181111611612113 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Robert Israel, Table of n, a(n) for n = 1..210

MAPLE

A[1]:= 3;

for n from 2 to 100 do

d:= 10^(ilog10(A[n-1])+1);

for k from 1 do

  p:= A[n-1]+d*k;

  if isprime(p) then

    A[n]:= p;

    break

  fi

od

od:

seq(A[n], n=1..100); # Robert Israel, Jul 15 2014

CROSSREFS

Cf. A000040.

Sequence in context: A063269 A105431 A062447 * A077713 A119723 A093011

Adjacent sequences:  A053580 A053581 A053582 * A053584 A053585 A053586

KEYWORD

base,nonn

AUTHOR

G. L. Honaker, Jr., Jan 18 2000

EXTENSIONS

Definition corrected by Robert Israel, Jul 15 2014

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 04:31 EDT 2018. Contains 316519 sequences. (Running on oeis4.)