%I#17 2017年1月30日02:58:26
%S 1,3,68,13222,35,25378,111234147122257833911243495586788,
%电话28228916711291348815561267117912891244823722892383579,
%电话:333891249246695691459355894462668913475579225881179237891378
%N CATS序列:RATS的立方-加法-排序变异(反向,加法-再排序)序列。
%H Harvey P.Dale和Indranil Ghosh,n表,a(n)表示n=2..20000
%H M.J.Halm,<a href=“http://untilheaven.tripod.com/id112.htm“>序列</a>
%F a(n)=排序位数(n^3+n)。
%e a(8)=25,因为8^3+8=512+8=520,排序(520)=25。
%t数组[FromDigits[Sort[IntegerDigits[#^3+#]]&,50,2](*H arvey P.Dale_,2013年2月28日*)
%o(Python)
%o定义A079320(n):
%o。。。。x=str(n+n**3)
%o。。。。return int(“”.join(sorted(x))#_Indranil Ghosh,2017年1月29日
%Y参考A004000。
%K nonn,基础
%氧2,2
%A _迈克尔·约瑟夫·哈尔姆,2003年2月13日
|