|
|
A295394
|
|
Numbers k such that (2*10^k - 179)/3 is prime.
|
|
0
|
|
|
2, 3, 4, 6, 9, 25, 162, 258, 457, 813, 1079, 1266, 2397, 4075, 15688, 18663, 21079, 21851, 40627, 54960
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For k > 1, numbers k such that k-2 occurrences of the digit 6 followed by the digits 07 is prime (see Example section).
a(21) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
3 is in this sequence because (2*10^3 - 179)/3 = 607 is prime.
Initial terms and associated primes:
a(1) = 2, 7;
a(2) = 3, 607;
a(3) = 4, 6607;
a(4) = 6, 666607;
a(5) = 9, 666666607; etc.
|
|
MATHEMATICA
|
Select[Range[2, 100000], PrimeQ[(2*10^# - 179)/3] &]
|
|
PROG
|
(PARI) isok(k) = isprime((2*10^k - 179)/3); \\ Michel Marcus, Nov 22 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|