|
|
A295972
|
|
Numbers k such that (49*10^k - 139)/9 is prime.
|
|
0
|
|
|
5, 6, 18, 27, 48, 51, 92, 396, 678, 1259, 2085, 2820, 3009, 4311, 5015, 7775, 7955, 8595, 120380, 166721
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 4 followed by the digits 29 is prime (see Example section).
a(21) > 2*10^5.
|
|
LINKS
|
|
|
EXAMPLE
|
5 is in this sequence because (49*10^5 - 139)/9 = 544429 is prime.
Initial terms and associated primes:
a(1) = 5, 544429;
a(2) = 6, 5444429;
a(3) = 18, 5444444444444444429;
a(4) = 27, 5444444444444444444444444429; etc.
|
|
MATHEMATICA
|
Select[Range[1, 100000], PrimeQ[(49*10^# - 139)/9] &]
|
|
PROG
|
(PARI) isok(k) = isprime((49*10^k - 139)/9); \\ Michel Marcus, Dec 01 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,hard,changed
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|