login
A281407
Numbers k such that (292*10^k - 1)/3 is prime.
0
0, 2, 4, 9, 14, 20, 28, 33, 156, 285, 302, 1121, 1300, 2540, 3873, 4706, 5297, 7292, 11086, 15928, 16203, 17267, 17793, 19326, 32009, 67659
OFFSET
1,2
COMMENTS
Numbers k such that the digits 97 followed by k occurrences of the digit 3 is prime (see Example section).
a(27) > 2*10^5.
EXAMPLE
2 is in this sequence because (292*10^2 - 1)/3 = 9733 is prime.
Initial terms and associated primes:
a(1) = 0, 97;
a(2) = 2, 9733;
a(3) = 4, 973333;
a(4) = 9, 97333333333;
a(5) = 14, 9733333333333333; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(292*10^# - 1)/3] &]
PROG
(PARI) isok(n) = isprime((292*10^n - 1)/3); \\ Michel Marcus, Jan 21 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Jan 21 2017
STATUS
approved