This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ScanNestList

Nest

FilledSmallSquareNest[f, expr, n] gives an expression with f applied n times to expr.

FilledSmallSquare Example: Nest[f, x, 3] LongRightArrow.

FilledSmallSquare You can use Throw to exit from Nest before it is finished.

FilledSmallSquare See The Mathematica Book: Section 2.2.2.

FilledSmallSquare See also: NestList, NestWhile, Fold, Function, FixedPoint, Do.

Further Examples

ScanNestList