login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A295971
Numbers k such that (46*10^k + 143)/9 is prime.
0
1, 8, 20, 28, 40, 41, 71, 208, 263, 346, 455, 743, 878, 920, 1451, 2980, 4678, 7748, 13301, 106343, 170932
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 1 followed by the digits 27 is prime (see Example section).
a(22) > 2*10^5.
EXAMPLE
8 is in this sequence because (46*10^8 + 143)/9 = 511111127 is prime.
Initial terms and associated primes:
a(1) = 1, 67;
a(2) = 8, 511111127;
a(3) = 20, 511111111111111111127;
a(4) = 28, 51111111111111111111111111127;
a(5) = 40, 51111111111111111111111111111111111111127; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(46*10^# + 143)/9] &]
PROG
(PARI) isok(k) = isprime((46*10^k + 143)/9); \\ Michel Marcus, Dec 01 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 30 2017
EXTENSIONS
a(20)-a(21) from Robert Price, Jan 17 2019
STATUS
approved