%I #17 Jan 30 2017 02:58:26
%S 1,3,68,13,222,35,25,378,11,1234,147,122,2578,339,1124,349,558,6788,
%T 28,2289,167,1129,13488,1556,1267,1179,1289,12448,237,22289,238,3579,
%U 33389,1249,24669,569,1459,35589,446,26689,1347,5579,22588,1179,23789,1378
%N CATS sequence: cube-add-then-sort variation of RATS (reverse, add then sort) sequence.
%H Harvey P. Dale and Indranil Ghosh, <a href="/A079320/b079320.txt">Table of n, a(n) for n = 2..20000</a> (terms 2..1000 from Harvey P. Dale)
%H M. J. Halm, <a href="http://untilheaven.tripod.com/id112.htm">Sequences</a>
%F a(n) = sort_digits(n^3 + n).
%e a(8)= 25 because 8^3 + 8 = 512 + 8 = 520, sort(520) = 25.
%t Array[FromDigits[Sort[IntegerDigits[#^3+#]]]&,50,2] (* _Harvey P. Dale_, Feb 28 2013 *)
%o (Python)
%o def A079320(n):
%o ....x=str(n+n**3)
%o ....return int("".join(sorted(x))) # _Indranil Ghosh_, Jan 29 2017
%Y Cf. A004000.
%K nonn,base
%O 2,2
%A _Michael Joseph Halm_, Feb 13 2003