OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 4 followed by k-2 occurrences of the digit 7 followed by the digits 83 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Factorization of near-repdigit-related numbers.
Makoto Kamada, Search for 47w83.
EXAMPLE
3 is in this sequence because (43*10^3 + 47)/9 = 4783 is prime.
Initial terms and associated primes:
a(1) = 1, 53;
a(2) = 3, 4783;
a(3) = 7, 47777783;
a(4) = 12, 4777777777783;
a(5) = 15, 4777777777777783; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(43*10^# + 47)/9] &]
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Dec 04 2017
EXTENSIONS
a(22) from Robert Price, Dec 01 2018
STATUS
approved