[go: up one dir, main page]

login
A295326
Numbers k such that (182*10^k + 43)/9 is prime.
0
2, 6, 14, 17, 27, 86, 104, 107, 132, 300, 374, 405, 497, 1179, 1994, 4274, 5252, 17939, 39534, 82898, 85017, 106083
OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digits 20 followed by k-1 occurrences of the digit 2 followed by the digit 7 is prime (see Example section).
a(23) > 2*10^5.
EXAMPLE
2 is in this sequence because (182*10^2 + 43)/9 = 2027 is prime.
Initial terms and associated primes:
a(1) = 2, 2027;
a(2) = 6, 20222227;
a(3) = 14, 2022222222222227;
a(4) = 17, 2022222222222222227;
a(5) = 27, 20222222222222222222222222227; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(182*10^# + 43)/9] &]
PROG
(PARI) isok(k) = isprime((182*10^k + 43)/9); \\ Michel Marcus, Nov 20 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 19 2017
EXTENSIONS
a(22) from Robert Price, Feb 01 2020
STATUS
approved