Consider the largest power of $2$ less than or equal to $n + 1$; let it be $2^k$. Then consider the number $n + 1 – 2^k$. Since $2^k\geq 1$ for any natural number $k$, we know that $n + 1 – 2^k \leq n + 1 – 1 = n$. Thus, by our inductive hypothesis, $n + 1 – 2^k$ can be written as the sum of distinct powers of two; let $S$ be the set of these powers of two. This means that $n + 1$ is equal to $2^k$ plus the sum of the powers of two in $S$.
We now need to show that these powers of two are all distinct. We know by the inductive hypothesis that all of the powers of two in $S$ are distinct, so the only way that a power of two would be repeated would be if $2^k \in S $. We show that this is impossible by contradiction; assume that $2^k \in S$. Since $2^k \in S $ and the sum of the powers of two in $S$ is $n + 1 – 2^k$, this means that $2^k \leq n + 1 –2^k$. This means that $2(2^k) \leq n + 1$, so $2^{k + 1}\leq n + 1$, contradicting the fact that $2^k$ is the largest power of two less than or equal to n + 1. We have reached a contradiction, so our assumption was wrong and $2^k \not \in S $. Thus $n + 1$ can be expressed as a sum of distinct powers of two, so $P(n + 1)$ holds, completing the induction. Hope it helps.