Learning recursion methods