Answer:
Explanation:
In this problem we have:
The statement
: Every positive integer
can be written as a sum of distinct powers of two.
We need to prove two steps:
1.Base Case : Prove that the statement
holds when
.
Induction Hypothesis : Assume that for all positive integers less than or equal to
, the statement holds.
2. Inductive Step : Prove, using the Induction hypothesis, that must
be true.
Proof:
1.Base case: Since
then the statement
holds.
2.Inductive Step:
Fix a positive integer
and suppose that
holds for all
.
Case 1:
is even, then
is an integer and we have that
, then
. Since
, by the inductive hypothesis, there exists
such that
and
for every
∈
. Then

All elements of the set
are distinct. Suppose that there exists
∈
such that
, then subtracting 1 from both sides of this equation, we get
, this is a contradiction because we are assuming that all the powers
are distinct. Therefore the statement holds when
is even.
Case 2:
is odd.
In this case
is even, by the inductive hypothesis we know that
, then
. Since
are all distinct, we only need to prove that 0 ∉
.
If there exists
∈
such that
, then

but this is a contradiction because
is even, therefore
are distinct powers and the statement holds when
is odd. Therefore, the statement that every positive integer
can be written as a sum of distinct powers of two holds for all positive integer.