The natural numbers, can be defined as an Algebra on an Endofunctor of the following functor:

Then , and .

Alternatively can be defined in Agda,