This website is a semi-functional mirror of the original Project Euler. More information is available on GitHub.
projecteuler.net

The Ackermann function

Problem 282

Published on 12 March 2010 at 05:00 pm [Server Time]

For non-negative integers m, n, the Ackermann function A(m, n) is defined as follows:

For example A(1, 0) = 2, A(2, 2) = 7 and A(3, 4) = 125.

Find A(n, n) and give your answer mod 148.


Answer:
Go to back to Problems