This question doesn't support checking answers.
282. The Ackermann function

Publish Date:

For non-negative integers m, n, the Ackermann function A(m,n) is defined as follows: A(m,n)={n+1 if m=0A(m1,1) if m>0 and n=0A(m1,A(m,n1)) if m>0 and n>0

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

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

Press F12 and use the "Console" tab to view the output of your codes.

Loading...