OFFSET
1,1
LINKS
Ivan Panchenko, Table of n, a(n) for n = 1..47
FORMULA
a(n) = A007953(A000396(n)). - R. J. Mathar, May 22 2008 [This assumes that all perfect numbers are even. - Ivan Panchenko, Aug 16 2018]
MATHEMATICA
a[n_] := Block[{e, p, mpe = MersennePrimeExponent@n}, Plus @@ IntegerDigits[(2^mpe - 1) 2^(mpe - 1)]]; Array[a, 44] (* Robert G. Wilson v, Aug 06 2018 *)
Total[IntegerDigits[#]]&/@Table[PerfectNumber[n], {n, 43}] (* Requires Mathematica version 10 or later *) (* The program may take a long time to run *) (* Harvey P. Dale, Feb 07 2019 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Omar E. Pol, Apr 01 2008
EXTENSIONS
More terms from R. J. Mathar, May 22 2008
a(15)-a(38) from Donovan Johnson, Nov 09 2010
Definition changed (inserting the word "even") and a(39)-a(43) added by Ivan Panchenko, Aug 06 2018
STATUS
approved