|
|
A294489
|
|
Numbers k such that (77*10^k - 59)/9 is prime.
|
|
0
|
|
|
0, 1, 4, 6, 12, 28, 39, 58, 73, 102, 141, 409, 423, 567, 831, 930, 1515, 2619, 5727, 9235, 12706, 13189, 37182, 73917
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 5 followed by the digits 49 is prime (see Example section).
a(25) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
4 is in this sequence because (77*10^4 - 59)/9 = 85549 is prime.
Initial terms and associated primes:
a(1) = 0, 2;
a(2) = 1, 79;
a(3) = 4, 85549;
a(4) = 6, 8555549;
a(5) = 12, 8555555555549; etc.
|
|
MATHEMATICA
|
Select[Range[0, 100000], PrimeQ[(77*10^# - 59)/9] &]
|
|
PROG
|
(PARI) isok(n) = isprime((77*10^n - 59)/9); \\ Michel Marcus, Nov 01 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|