OFFSET
1,2
COMMENTS
The exponent of 2 in the expression, 107, is a Mersenne exponent.
EXAMPLE
n = 1 is a term since 2^107 - 1 is prime (the 11th Mersenne prime).
MATHEMATICA
Select[Range@ 2401, PrimeQ[# 2^107 - 1] &] (* Michael De Vlieger, Dec 16 2015 *)
PROG
(MATLAB)
if isprime(n*2^107-1)
disp(n)
end
(PARI) is(n)=ispseudoprime(n*2^107- 1) \\ Anders Hellström, Dec 16 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vardan Semerjyan, Dec 09 2015
STATUS
approved