recursive

adjective
UK /rɪˈkɜː.sɪv/
US /rɪˈkɝː.sɪv/

Something recursive repeats itself over and over in the same way.

A recursive function calls itself to solve a smaller piece of the same problem.


OTHER MEANINGS

2. In mathematics and computing, describing a process that is defined in terms of itself.

The factorial function is often written in a recursive form.

3. Describing a pattern or structure that contains smaller copies of itself.

The fern's leaves show a recursive pattern at every scale.

4. In grammar, describing a rule that can be applied repeatedly to build longer sentences.

Recursive rules let a sentence contain another sentence inside it.