login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A135976
Mersenne composites (A065341) with exactly 2 prime factors.
7
2047, 8388607, 137438953471, 2199023255551, 576460752303423487, 147573952589676412927, 9671406556917033397649407, 158456325028528675187087900671, 2535301200456458802993406410751
OFFSET
1,1
LINKS
Wikipedia, Semiprime.
FORMULA
a(n) = 2^A135978(n) - 1. - Amiram Eldar, May 23 2021
MAPLE
A135976 := proc(n) local i;
i := 2^(ithprime(n))-1:
if (nops(numtheory[factorset](i)) = 2) then
RETURN (i)
fi: end: [ seq(A135976(n), n=1..26) ]; # Jani Melik, Feb 09 2011
MATHEMATICA
k = {}; Do[If[ ! PrimeQ[2^Prime[n] - 1], c = FactorInteger[2^Prime[n] - 1]; d = Length[c]; If[d == 2, AppendTo[k, 2^Prime[n] - 1]]], {n, 1, 40}]; k
PROG
(PARI) forprime(p=1, 1e2, if(bigomega(2^p-1)==2, print1(2^p-1, ", "))) \\ Felix Fröhlich, Aug 12 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 09 2007
STATUS
approved