login
A272830
Numbers k such that (8*10^k - 29)/3 is prime.
0
1, 2, 3, 8, 9, 10, 16, 31, 35, 79, 179, 196, 239, 376, 515, 728, 812, 1154, 2000, 2379, 2485, 3523, 3987, 5221, 5257, 5739, 17863, 59127, 106454, 125894
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 6 followed by the digits 57 is prime (see Example section).
a(31) > 2*10^5.
EXAMPLE
3 is in this sequence because (8*10^3 - 29)/3 = 2657 is prime.
Initial terms and associated primes:
a(1) = 1, 17;
a(2) = 2, 257;
a(3) = 3, 2657;
a(4) = 8, 266666657;
a(5) = 9, 2666666657, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(8*10^# - 29)/3] &]
PROG
(PARI) is(n)=ispseudoprime((8*10^n-29)/3) \\ Charles R Greathouse IV, Jun 13 2017
KEYWORD
nonn,more
AUTHOR
Robert Price, May 07 2016
EXTENSIONS
a(29)-a(30) from Robert Price, Jul 03 2018
STATUS
approved