IterationList Command
From GeoGebra Manual
- IterationList[Function, Number x0, Number n]
- Gives you a list of length n+1 whose elements are iterations of the function starting with the value x0.
- Example: After defining f(x) = x^2 the command IterationList[f, 3, 2] gives you the list L = {3, 9, 81}.