Already have an account? Log in here.
Take a number and return its prime factors. Take a URL and return the text on the page. Take a code and output the hidden message. Functions make generalized tasks like these possible.
Can you identify the function f(x,y)
which takes two positive integers as its argument?
1 2 3 4 5 6 7 8 9 

Already have an account? Log in here.
What would the following python code print out?
1 2 3 4 5 6 

Already have an account? Log in here.
The Ackermann function can be defined as follows: \[ A(m,n) = \begin{cases} n+1 & \mbox{if } m = 0 \\ A(m1, 1) & \mbox{if } m > 0 \mbox{ and } n = 0 \\ A(m1, A(m, n1)) & \mbox{if } m > 0 \mbox{ and } n > 0. \end{cases} \]
What is the value of \( A(3,6)? \)
Already have an account? Log in here.
Problem Loading...
Note Loading...
Set Loading...