OFFSET
1,1
COMMENTS
a(n) = 1 for n from A260577.
EXAMPLE
n = 1; x(1) = 1 + d(1) = 2, d(1 + d(1)) >= d(1) thus x(2) = 2 + d(2) = 4, d(2 + d(2)) >= d(2) thus x(3) = 4 + d(4) = 7, d(4 + d(4)) < d(4), stop. a(1) = 3.
MATHEMATICA
d[n_] := DivisorSigma[0, n]; x[n_] := n + d[n]; a[n_] := Length@ NestWhileList[x, n, d[#] <= d[x[#]] &]; Array[a, 100] (* Amiram Eldar, Oct 15 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ctibor O. Zizka, Oct 13 2021
STATUS
approved