User:JWSchmidt~enwiktionary/recursion

Illustration of recursion

recursion

 * 1. The act of recurring.


 * 2. What happens when a function calls itself.


 * example: the factorial function;
 * factorial(n) = n * factorial(n-1)


 * See also: Wiktionary.


 * See the section titled "recursion