This hyperlink will take you to the solution to the recursive Smallest int program.
Link to Smallest Int solutions.