OFFSET
0,1
COMMENTS
There are two cycles (28 38 53) and (21 22 33 29), that are the attractors in this fixed point iteration.
EXAMPLE
nilog(28)=ilog(27)+ilog(29)=ilog(3^3)+ilog(29)=3*3+29=38.
nilog(38)=ilog(37)+ilog(39)=ilog(37)+ilog(13*3)=37+(13+3)=53.
nilog(53)=ilog(52)+ilog(54)=ilog(2^2*13)+ilog(2*3^3)=(2*2+13)+(2+3*3)=28.
MATHEMATICA
f[n_] := Plus @@ Times @@@ FactorInteger@ n; f[1] = 0; g[n_] := f[n - 1] + f[n + 1]; Union[ Nest[g, #, 31] & /@ Range[3, 500000]]
CROSSREFS
KEYWORD
fini,nonn
AUTHOR
Carlos Alves, Dec 02 2006
STATUS
approved