login
A295125
Numbers k such that (19*10^k + 521)/9 is prime.
0
1, 2, 4, 7, 34, 218, 253, 310, 362, 370, 568, 574, 607, 919, 1615, 3968, 5950, 10435, 11887, 176932
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 1 followed by the digits 69 is prime (see Example section).
a(21) > 2*10^5.
EXAMPLE
2 is in this sequence because (19*10^2 + 521)/9 = 269 is prime.
Initial terms and associated primes:
a(1) = 1, 79;
a(2) = 2, 269;
a(3) = 4, 21169;
a(4) = 7, 21111169;
a(5) = 34, 21111111111111111111111111111111169; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(19*10^# + 521)/9] &]
PROG
(PARI) isok(k) = isprime((19*10^k + 521)/9); \\ Michel Marcus, Nov 15 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 15 2017
EXTENSIONS
a(20) from Robert Price, May 29 2018
STATUS
approved