|
|
A294727
|
|
Numbers k such that (5*10^k - 173)/3 is prime.
|
|
0
|
|
|
2, 3, 5, 7, 13, 79, 98, 273, 1173, 3008, 3118, 4352, 4748, 5648, 11167, 11750, 12555, 26613, 88303
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For k > 1, numbers such that the digit 1 followed by k-2 occurrences of the digit 6 followed by the digits 09 is prime (see Example section).
a(20) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
2 is in this sequence because (5*10^2 - 173)/3 = 109 is prime.
Initial terms and primes associated:
a(1) = 2, 109;
a(2) = 3, 1609;
a(3) = 5, 166609;
a(4) = 7, 16666609;
a(5) = 13, 16666666666609; etc.
|
|
MATHEMATICA
|
Select[Range[2, 100000], PrimeQ[(5*10^# - 173)/3] &]
|
|
PROG
|
(PARI) isok(k) = isprime((5*10^k - 173)/3); \\ Michel Marcus, Nov 12 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|