[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A278426
Numbers k such that (26*10^k - 89) / 9 is prime.
0
1, 3, 4, 13, 15, 21, 27, 63, 70, 123, 136, 178, 208, 265, 411, 457, 856, 2401, 4642, 8017, 8211, 8385, 12337, 20793, 123970, 189928
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 8 followed by the digits 79 is prime (see Example section).
a(27) > 2*10^5.
EXAMPLE
4 is in this sequence because (26*10^4 - 89) / 9 = 28879 is prime.
Initial terms and associated primes:
a(1) = 1, 19;
a(2) = 3, 2879;
a(3) = 4, 28879;
a(4) = 13, 28888888888879;
a(5) = 15, 2888888888888879; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(26*10^# - 89) / 9] &]
PROG
(PARI) is(n)=ispseudoprime((26*10^n-89)/9) \\ Charles R Greathouse IV, Jun 13 2017
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 21 2016
EXTENSIONS
a(25)-a(26) from Robert Price, Jun 16 2018
STATUS
approved