login
A267237
Numbers n such that 'n-1' prepended to 'n' n times yield primes.
1
7, 19, 989, 1187, 4183
OFFSET
1,1
COMMENTS
a(5) produces the prime: 4182...[4183 times]4183 (16736 digits).
EXAMPLE
7 occurs because '6' prepended 7 times to '7' produces prime (66666667).
MATHEMATICA
Select[ Range[1200], PrimeQ[ FromDigits[ StringJoin@@ ToString/@ PadLeft[{#}, #+1, #-1]]] &]
CROSSREFS
Cf. A267327.
Sequence in context: A359636 A330875 A330852 * A057866 A329001 A334982
KEYWORD
nonn,more,hard
AUTHOR
Mikk Heidemaa, Jan 12 2016
STATUS
approved