|
|
A160673
|
|
a(n)=smallest n-digit prime formed by appending a digit to a(n-1); a(7)=8402963.
|
|
1
|
|
|
|
OFFSET
|
7,1
|
|
LINKS
|
|
|
MAPLE
|
if n = 7 then
8402963;
else
for d from 1 to 9 by 2 do
if isprime(10*procname(n-1)+d )then
return 10*procname(n-1)+d ;
end if;
end do:
return -1 ;
end if;
end proc:
for n from 7 to 17 do
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,fini,full,nonn,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|