|
Search: id:A160955
|
|
|
| A160955 |
|
a(n+1)=largest n-digit prime formed by appending a digit to a(n); a(1)=18. |
|
+0 1
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
There is no prime a(7) since 18119930 to 18119939 are all composite.
|
|
EXAMPLE
|
a(1)=18, a(2)=181, a(4)=1811, a(5)=18119, a(6)=181199, a(7)=1811993.
|
|
MAPLE
|
A160955 :=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(A160955(n), n=1..10) ; (R. J. Mathar, May 26 2009)
|
|
CROSSREFS
|
Cf. A000040, A160751.
Sequence in context: A140325 A155669 A160954 this_sequence A026091 A155665 A036396
Adjacent sequences: A160952 A160953 A160954 this_sequence A160956 A160957 A160958
|
|
KEYWORD
|
base,easy,fini,full,nonn,uned
|
|
AUTHOR
|
Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), May 31 2009
|
|
|
Search completed in 0.002 seconds
|