cp's OEIS Frontend

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.

A071121 a(n) = a(n-1) + sum of decimal digits of n^3.

This page as a plain text file.
%I A071121 #13 Aug 30 2025 16:48:42
%S A071121 1,9,18,28,36,45,55,63,81,82,90,108,127,144,162,181,198,216,244,252,
%T A071121 270,289,306,324,343,369,396,415,441,450,478,504,531,550,576,603,622,
%U A071121 648,675,685,711,738,766,792,810,838,855,873,901,909,927,946,981,1008
%N A071121 a(n) = a(n-1) + sum of decimal digits of n^3.
%D A071121 N. Agronomof, Question 4420, L'Intermédiaire des Math. 21 (1914), 147.
%t A071121 s=0; Do[s=s+Apply[Plus, IntegerDigits[n^3]]; Print[s], {n, 1, 128}]
%t A071121 nxt[{n_,a_}]:={n+1,a+Total[IntegerDigits[(n+1)^3]]}; NestList[nxt,{1,1},60][[;;,2]] (* _Harvey P. Dale_, Aug 30 2025 *)
%Y A071121 Cf. A037123, A000788, A051351, A071317.
%Y A071121 Partial sums of A004164.
%K A071121 base,easy,nonn,changed
%O A071121 1,2
%A A071121 _Labos Elemer_, May 27 2002