Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.4.13 (Number of decompositions of $n$ in sum of odd numbers.)
Exercise 4.4.13 (Number of decompositions of $n$ in sum of odd numbers.)
Show that the number of ways of writing a positive integer in the form where is an arbitrary positive integer and are arbitrary odd positive integers is .
Answers
Proof. For every positive integer , we write the number of ways of writing in the form , where is an arbitrary positive integer and are arbitrary odd positive integers.
If denotes the number of such decompositions of satisfying , where is an odd positive integer, then, as in Problem 12,
We note that if , then is the number of ways of writing in the form , where is an arbitrary positive integer, so
-
If is odd, say , then .
- If , then the unique decomposition satisfying is , so and .
- If , then .
Therefore
-
If is even, say , then .
For , ,
Therefore
To summarize, for every positive integer ,
Then is determined by these relation, knowing that , since , and are the only decompositions of and in sum of odd integers.
Consider the proposition
Since , is true. Suppose that is true for some positive integer . We know that , and for , by (1) and (2) and the induction hypothesis,
and, using ,
This shows , and the induction is done. We conclude that for all positive integers ,
□