A065341 Mersenne composites: 2^prime(m) - 1 is not a prime.
2047, 8388607, 536870911, 137438953471, 2199023255551, 8796093022207, 140737488355327, 9007199254740991, 576460752303423487, 147573952589676412927, 2361183241434822606847, 9444732965739290427391
Offset: 1
Keywords
Examples
2^11 - 1 = 2047 = 23*89.
Links
- Muniru A Asiru, Table of n, a(n) for n = 1..110
- John H. Jaroma and Kamaliya N. Reddy, Classical and alternative approaches to the Mersenne and Fermat numbers, The American Mathematical Monthly, Vol. 114, No. 8 (2007), pp. 677-687.
Crossrefs
Programs
-
Maple
A065341 := proc(n) local i; i := 2^(ithprime(n))-1: if (not isprime(i)) then RETURN (i) fi: end: seq(A065341(n), n=1..21); # Jani Melik, Feb 09 2011
-
Mathematica
Select[Table[2^Prime[n]-1,{n,30}],!PrimeQ[#]&] (* Harvey P. Dale, May 06 2018 *)
Formula
a(n) = 2^A054723(n) - 1.
Comments