|
|
A294939
|
|
Numbers k such that (8*10^k + 13)/3 is prime.
|
|
0
|
|
|
0, 1, 2, 3, 5, 8, 13, 69, 80, 344, 405, 500, 794, 926, 3293, 3964, 7203, 7395, 8163, 14433, 68455, 108273, 137845
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
For k > 1, numbers such that the digit 2 followed by k-2 occurrences of the digit 6 followed by the digits 71 is prime (see Example section).
a(24) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
2 is in this sequence because (8*10^2 + 13)/3 = 271 is prime.
Initial terms and primes associated:
a(1) = 0, 7;
a(2) = 1, 31;
a(3) = 2, 271;
a(4) = 3, 2671;
a(5) = 5, 266671; etc.
|
|
MATHEMATICA
|
Select[Range[0, 100000], PrimeQ[(8*10^# + 13)/3] &]
|
|
PROG
|
(PARI) isok(k) = isprime((8*10^k + 13)/3); \\ Michel Marcus, Nov 12 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|