OFFSET
0,2
LINKS
T. D. Noe, Table of n, a(n) for n = 0..150
EXAMPLE
a(4)=14 since 14->10->8->7->1 and no smaller number takes 4 steps.
MATHEMATICA
f[n_] := DivisorSigma[1, n] - n; f[1] = 1; a[n_] := Catch[For[k = 1, True, k++, nl = NestList[f, k, n]; p = Position[nl, 1, 1, 1]; If[p != {}, If[p[[1, 1]] - 1 == n, Throw[k]]]]]; Table[a[n], {n, 0, 52}] (* Jean-François Alcover, Feb 01 2013 *)
CROSSREFS
KEYWORD
nice,nonn
AUTHOR
Erich Friedman, Feb 02 2001
EXTENSIONS
More terms from T. D. Noe, Nov 27 2006
STATUS
approved