A033894 Sort then Add, a(1)=5.
5, 10, 11, 22, 44, 88, 176, 343, 677, 1354, 2699, 5398, 8987, 16876, 33554, 67009, 67688, 134476, 268943, 503632, 526988, 783877, 1161665, 2277331, 3500708, 3504286, 3738854, 7084642, 7329320, 7552699, 10109498, 10224397, 11447876
Offset: 1
Crossrefs
Cf. A033860.
Programs
-
Maple
A033894 := proc(n) option remember ; if n =1 then 5; else A070196(procname(n-1)) ; end if; end proc: seq(A033894(n),n=1..100) ; # R. J. Mathar, Feb 03 2025
-
Mathematica
NestList[#+FromDigits[Sort[IntegerDigits[#]]]&,5,40] (* Harvey P. Dale, Dec 31 2015 *)