Nepedia
Back to Discover
Independent Reader
🔢

General recursive function

math Maturity 11-13 Next article →

Math has special rules called functions. These rules take numbers and give back a new number. Some rules are very powerful. We call them general recursive functions. These rules can act like a computer.

These functions use a few basic steps. One step is called the successor function. It just finds the next number in line. Another step is called composition. This is when you put rules together. You can also use primitive recursion. This means you repeat a rule many times.

There is one more special tool. It is called the minimization operator. This tool searches for the smallest number that fits a rule. It starts at zero and counts up. Sometimes, the search never ends. If it never finds an answer, the rule is called a partial function. If it always finds an answer, it is a total function.

Some rules are even more complex. The Ackermann function is a famous example. It is a total function, but it is not primitive. This means it is more complex than basic rules. These functions are very important to computer science. They help us understand what a machine can truly do.

191 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.