A265505 Numbers n such that n*2^107 - 1 is prime.
1, 25, 36, 81, 246, 273, 358, 378, 595, 658, 684, 703, 706, 739, 759, 883, 909, 958, 963, 970, 991, 1014, 1054, 1138, 1189, 1200, 1209, 1356, 1359, 1476, 1488, 1534, 1554, 1590, 1594, 1684, 1695, 1719, 1785, 1791, 1858, 1929, 2008, 2094, 2103, 2115, 2146, 2224, 2229, 2266, 2278, 2283, 2313, 2325, 2380, 2388, 2401
Offset: 1
Keywords
Examples
n = 1 is a term since 2^107 - 1 is prime (the 11th Mersenne prime).
Programs
-
MATLAB
if isprime(n*2^107-1) disp(n) end
-
Mathematica
Select[Range@ 2401, PrimeQ[# 2^107 - 1] &] (* Michael De Vlieger, Dec 16 2015 *)
-
PARI
is(n)=ispseudoprime(n*2^107- 1) \\ Anders Hellström, Dec 16 2015
Comments