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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160954 a(n+1) is the smallest prime formed by appending a single digit to a(n); a(1)=18. 2
18, 181, 1811, 18119, 181193, 1811939 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

There is no prime a(7) since 18119390 to 18119399 are all composite.

EXAMPLE

a(1)=18, a(2)=181, a(4)=1811, a(5)=18119, a(6)=181193, a(7)=1811939.

MAPLE

A160954 :=proc(n) option remember ; local d; if n =1 then 18; else for d from 1 to 9 by 2 do if isprime(10*prochame n+d) then RETURN(10*procnam n+d 0 ; fi; end:

seq(A160954(n), n=1..10) ; (R. J. Mathar, May 26 2009)

CROSSREFS

Cf. A000040, A160751, A160955.

Sequence in context: A140325 A199299 A155669 * A160955 A026091 A178260

Adjacent sequences:  A160951 A160952 A160953 * A160955 A160956 A160957

KEYWORD

nonn,base,easy,fini,full

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), May 31 2009

EXTENSIONS

Redundant part of the definition removed - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 21 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:29 EST 2012. Contains 205694 sequences.