OFFSET
1,1
COMMENTS
The sequence is finite because only the first digit is considered in defining the entire number. This first digit can vary only between 1 and 9. Hence, the largest possible number must be 9000000000 + p, where p is a 9-digit prime number. The largest prime I have found that fits this category is 999999937, giving the term, 9999999937.
EXAMPLE
For n = 2, 2*10^2 + 19 = 219. 19 is a 2-digit prime.
Note that for each n, several a(i) are generated, and the first of these is related to the 1st prime with n-digits. For n=1, the first term we get is related to the 1st prime with 1 digit, and there 4 of them. For n=2, the first term we get is related to the 1st prime with 2 digits and there 21 of them, etc.
PROG
(PARI) lista() = {for (n=1, 9, forprime(p=10^(n-1), 10^n-1, print1(n*10^n+p, ", "); ); ); } \\ Michel Marcus, May 27 2014
CROSSREFS
KEYWORD
nonn,base,fini
AUTHOR
Philip Mizzi, May 26 2014
STATUS
approved
