OFFSET
1,1
COMMENTS
Corresponding values of even perfect numbers w: 28, 496, 33550336, 2658455991569831744654692615953842176, ... (A330164).
Corresponding values of Mersenne exponents k(m) and k(w): (2, 3, 7, 31, ...), (3, 5, 13, 61, ...), where k(w) = 2*k(m) - 1.
MATHEMATICA
f[n_] := 2^(n - 1)*(2^n - 1); g[n_] := 2^n - 2^((n - 1)/2); mers = MersennePrimeExponent[Range[10]]; g /@ Select[mers, MemberQ[f /@ mers, g[#]] &] (* Amiram Eldar, Dec 06 2019 *)
PROG
(Magma) [(2^k - 1) * (2^(k - 1)): k in [1..100] | SumOfDivisors((2^k - 1) * (2^(k - 1))) / ( (2^k - 1) * (2^(k - 1))) eq 2 and SumOfDivisors(((2^k - 1) * (2^(k - 1)) + (2^(k - 1) - 1)) * (2^(2*(k - 1)))) / (((2^k - 1) * (2^(k - 1)) + (2^(k - 1) - 1)) * (2^(2*(k - 1)))) eq 2]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jaroslav Krizek, Dec 04 2019
STATUS
approved