The function
is defined for positive integers
by:

Suppose
is an odd integer and that
. What is the sum of the digits of
?
VIDEO LECTURE
MAIN CONCEPTS
Apply the function three times to k making sure you consider the cases when n is odd or even. Get the Printer Friendly Version COMMENTS
Feel free to leave any comments on the lesson - your views, improvements, mistakes, clarification of concepts, or vote to have this lesson revised. |
SOLUTION
First and foremost do not get intimidated by the ‘function of a function of a function’. This question is easier than it looks. All it requires is a careful implementation of the function
Since
But now there are two possibilities to consider. We have no way of knowing if this last value is even or odd. We consider the cases separately.
If
So which of these values is correct. We will simply work recursively putting these values into the original function For
which is correct. For
which is incorrect. So the correct value is All information presentated, less questions and exercises, is original content of Donny, with slight references to various books.
Video courtesy of YouTube.com service. |