OFFSET
1,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
For n=54, the Fermi-Dirac representation is 54=2*3*9, then a(54)=2+3+9=14.
MATHEMATICA
FermiDiracSum[n_] := Module[{e, ex, p, s}, If[n <= 1, 0, {p, e} = Transpose[FactorInteger[n]]; s = 0; Do[d = IntegerDigits[e[[i]], 2]; ex = DeleteCases[Reverse[2^Range[0, Length[d] - 1]] d, 0]; s = s + Total[p[[i]]^ex], {i, Length[e]}]; s]]; Table[FermiDiracSum[n], {n, 100}] (* T. D. Noe, Apr 05 2012 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 31 2012
STATUS
approved