Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A294944
Numbers k such that (76*10^k + 113)/9 is prime.
0
1, 2, 4, 5, 8, 13, 14, 26, 44, 58, 61, 83, 256, 878, 1513, 3122, 6398, 6476, 8683, 18482, 33917, 45937, 64534
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 4 followed by the digits 57 is prime (see Example section).
a(24) > 2*10^5.
EXAMPLE
2 is in this sequence because (76*10^2 + 113)/9 = 857 is prime.
Initial terms and associated primes:
a(1) = 1, 97;
a(2) = 2, 857;
a(3) = 4, 84457;
a(4) = 5, 844457;
a(5) = 8, 844444457; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(76*10^# + 113)/9] &] (* Corrected by Georg Fischer, Jul 22 2019 *)
PROG
(PARI) isok(k) = isprime((76*10^k + 113)/9); \\ Michel Marcus, Nov 12 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 11 2017
STATUS
approved