OFFSET
0,2
MAPLE
A002034 := proc(n) local m; m :=1 ; while type(factorial(m)/n, 'integer') = false do m := m+1 ; od ; RETURN(m) ; end: A029715 := proc(n) local a, i; a :=0 ; for i from 0 to n do a := a+A002034(2^i) ; od ; RETURN(a) ; end: for n from 0 to 80 do printf("%d, ", A029715(n)) ; od ; # R. J. Mathar, Jun 06 2007
MATHEMATICA
S[n_] := S[n] = Module[{k = 1}, While[True, If[Divisible[k!, n], Return[k], k++]]];
a[n_] := S /@ Divisors[2^n] // Total;
a /@ Range[0, 52] (* Jean-François Alcover, Nov 17 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Norbert Hungerbuhler (buhler(AT)math.ethz.ch)
EXTENSIONS
More terms from R. J. Mathar, Jun 06 2007
STATUS
approved