OFFSET
1,2
COMMENTS
Numbers k such that '393' appended to k times the digit 5 is prime.
Up to a(7) nonprimes alternate with primes; a(9) > 30000 (if it exists).
a(10) > 60000. - Michael S. Branicky, Feb 18 2026
EXAMPLE
1 appears because 5393 is prime.
5 appears because 55555393 ('5' concatenated 5 times and prepended to '393') is prime.
MATHEMATICA
Select[Range[1500], PrimeQ[(2^(# + 3) * 5^(# + 4) - 1463) / 9] &]
PROG
(Magma) [n: n in [1..400] | IsPrime((2^(n+3) * 5^(n+4) - 1463) div 9)];
(PARI) is(n)=isprime((2^(n+3)*5^(n+4) - 1463)/9)
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Mikk Heidemaa, Dec 02 2015
EXTENSIONS
a(9) from Michael S. Branicky, Feb 18 2026
STATUS
approved
