OFFSET
1,1
EXAMPLE
Iteration list started from n=1018248: {1018248, 1055352, 527712, 232608, 87360, 87360...}
MATHEMATICA
di[x_] :=Divisors[x]; ta={{0}}; ud[x_] :=Part[di[x], Flatten[Position[GCD[di[x], Reverse[di[x]]], 1]]]; asu[x_] :=Apply[Plus, ud[x]]-x; nsf[x_, ho_] :=NestList[asu, x, ho] Do[g=n; s=Last[NestList[asu, n, 100]]; If[Equal[s, 87360], Print[{n, s}]; ta=Append[ta, n]], {n, 1, 5000000}]; ta = Delete[ta, 1]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 31 2004
STATUS
approved