OFFSET
1,3
COMMENTS
Numbers k such that the digits 61 followed by k occurrences of the digit 3 is prime (see Example section).
a(29) > 3*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 613w.
EXAMPLE
2 is in this sequence because (184*10^2 - 1)/3 = 6133 is prime.
Initial terms and associated primes:
a(1) = 0, 61;
a(2) = 1, 613;
a(3) = 2, 6133;
a(4) = 3, 61333;
a(5) = 21, 61333333333333333333333; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(184*10^# - 1)/3] &]
PROG
(PARI) isok(k) = isprime((184*10^k - 1)/3); \\ Michel Marcus, Feb 12 2017
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Feb 12 2017
EXTENSIONS
a(27) from Robert Price, Feb 26 2020
a(28) from Robert Price, Jul 02 2023
STATUS
approved