|
|
A295398
|
|
Numbers k such that (305*10^k + 1)/9 is prime.
|
|
0
|
|
|
2, 3, 12, 14, 38, 126, 147, 152, 216, 285, 774, 1458, 2049, 3369, 5718, 8358, 12510, 13863, 30308, 38732, 128198
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For k > 1, numbers k such that the digits 33 followed by k-1 occurrences of the digit 8 followed by the digit 9 is prime (see Example section).
a(22) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
2 is in this sequence because (305*10^2 + 1)/9 = 3389 is prime.
Initial terms and associated primes:
a(1) = 2, 3389;
a(2) = 3, 33889;
a(3) = 12, 33888888888889;
a(4) = 14, 3388888888888889;
a(5) = 38, 3388888888888888888888888888888888888889; etc.
|
|
MATHEMATICA
|
Select[Range[0, 100000], PrimeQ[(305*10^# + 1)/9] &]
|
|
PROG
|
(PARI) isok(k) = isprime((305*10^k + 1)/9); \\ Michel Marcus, Nov 22 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|