OFFSET
1,1
COMMENTS
Numbers n such that '21669' appended to n times the digit 4 is prime.
Up to a(9) the terms themselves are primes.
a(1), a(2), a(6), a(9), and (2^(a(1)+7) * 5^(a(1)+5) - 204979)/9 = 4444421669 are also Sophie Germain primes.
a(10) > 50000 (if it exists).
EXAMPLE
5 appears because 4444421669 ('4' concatenated 5 times and prepended to '21669') is prime.
MAPLE
MATHEMATICA
Select[ Range[5000], PrimeQ[(2^(# + 7) * 5^(# + 5) - 204979)/9] &]
PROG
(Magma)[n: n in[1 .. 1000] | IsPrime((2^(n+7) * 5^(n+5) - 204979) div 9)];
(PARI) is(n)=isprime((2^(n+7) * 5^(n+5) - 204979)/9)
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Mikk Heidemaa, Dec 29 2015
STATUS
approved