FixedPointList

WMA link


FixedPointList[f, expr]

starting with expr, iteratively applies f until the result no longer changes, and returns a list of all intermediate results.

FixedPointList[f, expr, n]

performs at most n iterations.

Observe the convergence of Newton's method for approximating square roots:

Compute the Hailstone Number: for 14:

Plot this:

FixedPoint
Fold