<sectionid="description"><p> La función de Ackermann es un ejemplo clásico de una función recursiva, especialmente porque no es una función recursiva primitiva. Crece muy rápidamente en valor, al igual que el tamaño de su árbol de llamadas. </p><p> La función de Ackermann se define generalmente de la siguiente manera: </p> $$ A (m, n) = \ begin {cases} n + 1 & \ mbox {if} m = 0 \\ A (m-1, 1) & \ mbox {if} m> 0 \ mbox {and} n = 0 \\ A (m-1, A (m, n-1)) & \ mbox {if} m> 0 \ mbox {y} n> 0. \ end {cases} $$ <p> Sus argumentos nunca son negativos y siempre termina. Escriba una función que devuelva el valor de $ A (m, n) $. Se prefiere la precisión arbitraria (ya que la función crece tan rápidamente), pero no es obligatoria. </p></section>