login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A267237
Numbers k such that 'k-1' prepended to 'k' k times yield primes.
1
7, 19, 989, 1187, 4183, 19607
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
EXTENSIONS
a(6) from Michael S. Branicky, Nov 15 2024
STATUS
approved