%I #17 Aug 04 2018 15:21:50
%S 0,1,55,133,136,153,160,217,244,250,352,370,371,407,919,1459
%N Limit set for operation of repeatedly replacing a number with the sum of the cubes of its digits.
%C Range of A165330; A165330(a(n))=a(n); A165331(a(n))=0. - _Reinhard Zumkeller_, Sep 17 2009
%t lst = {}; k = 0; While[k < 1500, a = NestWhile[Plus @@ (IntegerDigits@ #^3) &, k, Unequal, All]; If[FreeQ[lst, a], AppendTo[lst, a]]; k++]; Sort@ lst (* _Robert G. Wilson v_, Jan 19 2006, revised Jan 03 2015 *)
%t Table[Nest[Total[IntegerDigits[#]^3]&,n,30],{n,0,1500}]//Union (* _Harvey P. Dale_, Aug 04 2018 *)
%Y Cf. A046197, A113708.
%K nonn,fini,full,base
%O 1,3
%A Richard C. Schroeppel