A061212 Erroneous version of A164883.
1, 8, 474552, 27818127
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
[0] cat [&+[d^3: d in Intseq(n)]: n in [1..60]]; // Bruno Berselli, Feb 01 2013
A055012 := proc(n) add(d^3,d=convert(n,base,10)) ; end proc: # R. J. Mathar, Dec 15 2011
Total/@((IntegerDigits/@Range[0,60])^3) (* Harvey P. Dale, Jan 27 2012 *) Table[Sum[DigitCount[n][[i]] i^3, {i, 9}], {n, 0, 60}] (* Bruno Berselli, Feb 01 2013 *)
A055012(n)=sum(i=1,#n=digits(n),n[i]^3) \\ Charles R Greathouse IV, Jul 01 2013
def a(n): return sum(map(lambda x: x*x*x, map(int, str(n)))) print([a(n) for n in range(60)]) # Michael S. Branicky, Jul 13 2022
Comments