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”).

A092562
Semiprimes of the form 2^k + 1.
6
9, 33, 65, 129, 2049, 4097, 8193, 131073, 524289, 1048577, 8388609, 268435457, 2147483649, 4294967297, 1099511627777, 8796093022209, 2305843009213693953, 18446744073709551617, 604462909807314587353089, 4951760157141521099596496897
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..40 (terms 1..30 from Vincenzo Librandi)
FORMULA
a(n) = A000051(A092559(n)). - Amiram Eldar, Jun 18 2022
EXAMPLE
2049 is a member because 2049 = 2^11+1 = 3*683.
MATHEMATICA
Select[Table[2^n + 1, {n, 100}], PrimeOmega[#] == 2&] (* Vincenzo Librandi, Sep 21 2012 *)
PROG
(Magma) IsSemiprime:=func<n | &+[d[2]: d in Factorization(n)] eq 2>; [s: n in [2..100] | IsSemiprime(s) where s is 2^n+1]; // Vincenzo Librandi, Sep 21 2012
CROSSREFS
Corresponding k: A092559.
Sequence in context: A046895 A165392 A145923 * A103602 A205796 A081585
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 27 2004
STATUS
approved