|
|
A293398
|
|
Numbers k such that (728*10^k - 71)/9 is prime.
|
|
0
|
|
|
0, 2, 5, 6, 11, 14, 41, 47, 51, 84, 164, 228, 293, 1178, 1212, 1292, 2099, 2694, 4446, 7382, 13638, 39428, 40971
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
For k > 0, numbers such that the digits 80 followed by k-1 occurrences of the digit 8 followed by the digit 1 is prime (see Example section).
a(24) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
2 is in this sequence because (728*10^2 - 71)/9 = 8081 is prime.
Initial terms and primes associated:
a(1) = 0, 73;
a(2) = 2, 8081;
a(3) = 5, 8088881;
a(4) = 6, 80888881;
a(5) = 11, 8088888888881; etc.
|
|
MATHEMATICA
|
Select[Range[0, 100000], PrimeQ[(728*10^# - 71)/9] &]
|
|
PROG
|
(PARI) isok(k) = isprime((728*10^k - 71)/9); \\ Altug Alkan, Oct 08 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|