Collatz function. Consider the following recursive function, which is related to a famous unsolved problem in number theory, known as the Collatz problem, or the 3n+1 problem:
as a consequence of 17 recursive calls. Write a program that takes a command-line argument n and returns the value of i <>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here