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”).

A271646
Numbers k such that 22*10^k + 7 is prime.
0
0, 1, 2, 9, 13, 14, 15, 17, 22, 23, 80, 297, 393, 524, 591, 1107, 1135, 1179, 1442, 2819, 3549, 3756, 3837, 4903, 5277, 5639, 7230, 13147, 14828, 16158, 18119, 28880, 99275, 212339, 254639
OFFSET
1,3
COMMENTS
For k > 1, numbers k such that the digits 22 followed by k-1 occurrences of the digit 0 followed by the digit 7 is prime (see Example section).
a(36) > 3*10^5.
EXAMPLE
2 is in this sequence because 22*10^2+7 = 227 is prime.
Initial terms and associated primes:
a(1) = 0, 29;
a(2) = 1, 227;
a(3) = 2, 2207;
a(4) = 9, 22000000007;
a(5) = 13, 220000000000007, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[22*10^# + 7] &]
PROG
(PARI) is(n)=ispseudoprime(22*10^n + 7) \\ Charles R Greathouse IV, Jun 13 2017
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 11 2016
EXTENSIONS
a(34)-a(35) from Robert Price, Jun 01 2023
STATUS
approved