login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265497 Numbers n such that n*2^127 - 1 is prime. 1
1, 103, 190, 289, 460, 483, 511, 534, 651, 793, 820, 880, 901, 939, 945, 958, 1045, 1168, 1195, 1198, 1216, 1374, 1408, 1479, 1489, 1500, 1521, 1534, 1539, 1569, 1599, 1623, 1630, 1671, 1678, 1875, 1938, 1939, 1963, 1996, 2028, 2136, 2140, 2166, 2179, 2289 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The exponent of 2 in the expression, 127, is a Mersenne exponent.
LINKS
EXAMPLE
n = 1 is a term since 2^127 - 1 is prime (the 12th Mersenne prime).
MATHEMATICA
Select[Range@ 2560, PrimeQ[# 2^127 - 1] &] (* Michael De Vlieger, Dec 09 2015 *)
PROG
(MATLAB)
if isprime(n*2^127-1)
disp(n)
end
(PARI) is(n)=ispseudoprime(n*2^127 - 1) \\ Anders Hellström, Dec 09 2015
(Magma) [n: n in [1..3*10^3] |IsPrime(n*2^127-1)]; // Vincenzo Librandi, Dec 10 2015
CROSSREFS
Sequence in context: A141859 A136075 A142174 * A142360 A044335 A044716
KEYWORD
nonn,easy
AUTHOR
Vardan Semerjyan, Dec 09 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)