|
|
A294940
|
|
Numbers k such that (14*10^k + 229)/9 is prime.
|
|
0
|
|
|
1, 2, 4, 5, 8, 10, 145, 319, 620, 629, 1165, 5897, 8797, 10138, 10897, 13438, 21863, 23089, 27400, 51079, 182000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
For k > 1, numbers such that the digit 1 followed by k-2 occurrences of the digit 5 followed by the digits 81 is prime (see Example section).
a(22) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
2 is in this sequence because (59*10^2 - 77)/9 = 181 is prime.
Initial terms and primes associated:
a(1) = 1, 41;
a(2) = 2, 181;
a(3) = 4, 15581;
a(4) = 5, 155581;
a(5) = 8, 155555581; etc.
|
|
MATHEMATICA
|
Select[Range[0, 100000], PrimeQ[(59*10^# - 77)/9] &]
|
|
PROG
|
(PARI) isok(k) = isprime((14*10^k + 229)/9); \\ Michel Marcus, Nov 12 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|