OFFSET
1,1
COMMENTS
A perfect number is a fixed point of this map.
EXAMPLE
82 -> 120 -> 0.
MATHEMATICA
max = 16000; f[0] = 0; f[n_ /; 0 < n < 9max] := 3n - DivisorSigma[1, n]; f[_] = -1; Select[ Range[max], FixedPoint[f, #] == 0 &] (* Jean-François Alcover, Feb 22 2012 *)
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
Better description from Jud McCranie, Dec 24 2000
Definition clarified by Harvey P. Dale, Jul 30 2020
STATUS
approved