login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A069939
1/3!*((Sum of digits of n)^3 + 3*(Sum of digits of n)*(Sum of digits^2 of n) + 2*(Sum of digits^3 of n)).
0
0, 1, 8, 27, 64, 125, 216, 343, 512, 729, 1, 4, 15, 40, 85, 156, 259, 400, 585, 820, 8, 15, 32, 65, 120, 203, 320, 477, 680, 935, 27, 40, 65, 108, 175, 272, 405, 580, 803, 1080, 64, 85, 120, 175, 256, 369, 520, 715, 960, 1261, 125, 156, 203, 272, 369, 500, 671
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