|
|
A108817
|
|
Primes of the form n*10^x + n - 1, where 0 < n < 9, x = 0,1,2,3...
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The next 2 terms for x <= 1000 are 4*10^419+3 and 4*10^449+3 both PARI proved primes. Except for the first 5 terms, the outer digits of these numbers are 4 and 3. This follows from the fact that all other combinations produce multiples of 2,3 or 5.
|
|
LINKS
|
|
|
EXAMPLE
|
n=4,x=3. a(x,n) = 4*10^3+4-1 = 4003 prime.
|
|
PROG
|
(PARI) n10nm1(n) = { local(x, y, k); for(x=0, n, for(k=1, 8, y=10^x*k+k-1; if(isprime(y), print1(y", ")) ) ) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|