OFFSET
1,2
LINKS
MATHEMATICA
Block[{s = DivisorSigma[1, Range[90]], t}, t = Nest[Append[#1, If[EvenQ[#2], 2 #1[[#2/2 + 1]], #1[[(#2 - 1)/2 + 1]] + 1]] & @@ {#, Length@ #} &, {0}, Max@ s]; t[[Most@ s + 1]] ] (* Michael De Vlieger, Feb 12 2020 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 12 2020
STATUS
approved