login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A276698
Numbers k such that (25*10^k - 37) / 3 is prime.
0
1, 2, 7, 17, 24, 32, 66, 67, 74, 92, 104, 117, 188, 260, 279, 336, 348, 369, 547, 619, 860, 2735, 7932, 11874, 14867, 40153, 171849, 176715
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digit 8 followed by k-2 occurrences of the digit 3 followed by the digits 21 is prime (see Example section).
a(29) > 2*10^5.
EXAMPLE
2 is in this sequence because (25*10^2 - 37) / 3 = 821 is prime.
Initial terms and associated primes:
a(1) = 1, 71;
a(2) = 2, 821;
a(3) = 7, 83333321;
a(4) = 17, 833333333333333321;
a(5) = 24, 8333333333333333333333321, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(25*10^# - 37) / 3] &]
PROG
(PARI) is(n)=ispseudoprime((25*10^n - 37)/3) \\ Charles R Greathouse IV, Jun 13 2017
KEYWORD
nonn,more
AUTHOR
Robert Price, Sep 14 2016
EXTENSIONS
a(27)-a(28) from Robert Price, Oct 07 2019
STATUS
approved