|
Search: id:A160952
|
|
|
| A160952 |
|
a(n)=largest n-digit prime formed by appending a digit to a(n-1); a(0)=2. |
|
+0 1
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
There is no prime a(8) since 293999991 to 293999999 are all composite.
|
|
EXAMPLE
|
a(0)=2, a(1)=29, a(2)=293, a(3)=2939, a(4)=29399, a(5)=293999, a(6)=2939999, a(7)=29399999.
|
|
MAPLE
|
>m:=[n]: print(op(m)); whille nops(m)>0 >do m:=select(isprime, map(proc(x) 10*x+1, 10*x+3, 10*x+7, 10*x+9 > end, m)): print(op(m)): >od:
|
|
CROSSREFS
|
Cf. A000040, A160674.
Sequence in context: A124301 A077023 A101750 this_sequence A088615 A091716 A094940
Adjacent sequences: A160949 A160950 A160951 this_sequence A160953 A160954 A160955
|
|
KEYWORD
|
base,fini,full,nonn,uned
|
|
AUTHOR
|
Vladislav-Stepan Malakhovsky and Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), May 31 2009
|
|
|
Search completed in 0.002 seconds
|