OFFSET
0,3
MATHEMATICA
sdn[n_]:=Module[{c=1/3!, idn=IntegerDigits[n], sdn}, sdn=Total[idn]; c(sdn^3+ 3sdn Total[idn^2]+2Total[idn^3])]; Array[sdn, 60, 0] (* Harvey P. Dale, Dec 29 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladeta Jovovic, May 04 2002
STATUS
approved