recursion

nounThe process of defining a function or solving a problem by having a function call itself, often used in mathematics and computer programming.