A276114 Numbers k such that (101*10^k - 17)/3 is prime.
1, 2, 15, 17, 26, 41, 56, 59, 121, 137, 224, 506, 611, 836, 937, 1079, 1829, 2315, 2666, 2879, 6661, 7167, 14021, 15459, 32924, 73346, 176815, 177302
Offset: 1
Examples
2 is in this sequence because (101*10^2 - 17)/3 = 3361 is prime. Initial terms and associated primes: a(1) = 1, 331; a(2) = 2, 3361; a(3) = 15, 33666666666666661; a(4) = 17, 3366666666666666661; a(5) = 26, 3366666666666666666666666661, etc.
Links
- Makoto Kamada, Factorization of near-repdigit-related numbers.
- Makoto Kamada, Search for 336w1.
Programs
-
Mathematica
Select[Range[0, 100000], PrimeQ[(101*10^# - 17)/3] &]
-
PARI
is(n)=ispseudoprime((101*10^n - 17)/3) \\ Charles R Greathouse IV, Jun 13 2017
Extensions
a(27)-a(28) from Robert Price, Feb 05 2020
Comments