%I #8 Apr 14 2020 15:40:13
%S 0,1,371,153,133,371,153,370,371,153,1,371,153,133,371,153,217,371,
%T 153,370,371,153,217,371,153,133,371,153,133,371,153,133,371,153,370,
%U 371,153,370,371,153,133,371,153,370,371,153,133,407,153,1459,371,153,133
%N Result of repeatedly replacing a number with the sum of the cubes of its digits until a fixed point or cycle is reached.
%C Range = A046156;
%C A055012(A031179(n)) = A031179(n);
%C A055012(A055012(A165336(n)))=A165336(n) or A055012(A055012(A055012(A165336(n))))=A165336(n);
%C for n>0: a(n) = 153 iff n mod 3 = 0, see A008585; a(A165340(n,k))=153, 0<=k<=n;
%C a(n) = 371 or a(n) = 407 iff n mod 3 = 2, see A016789.
%H R. Zumkeller, <a href="/A165330/b165330.txt">Table of n, a(n) for n = 0..20000</a>
%Y Cf. A031179.
%K base,nonn
%O 0,3
%A _Reinhard Zumkeller_, Sep 17 2009
|