I'm working on a number theory problem about deficient numbers and would appreciate some guidance. The exercise is:
Prove that every power of 2 is slightly deficient.
I understand that a number $n$ is called deficient if $\sigma(n) < 2n$, where $\sigma(n)$ is the sum of all divisors of $n$ (including 1 and $n$ itself).
A number is called slightly deficient if $\sigma(n) = 2n - 1$.
For a power of 2, say $n = 2^k$ where $k \geq 1$, the divisors are $1, 2, 2^2, \ldots, 2^k$.
So I need to calculate: $$\sigma(2^k) = 1 + 2 + 2^2 + \cdots + 2^k$$
This is a geometric series, which gives: $$\sigma(2^k) = \frac{2^{k+1} - 1}{2 - 1} = 2^{k+1} - 1$$
For $2^k$ to be slightly deficient, I need to verify that: $$\sigma(2^k) = 2 \cdot 2^k - 1 = 2^{k+1} - 1$$
This seems to match! So my calculation appears to prove the result.
How can I write a proper proof on this statement?
Any feedback on making this proof more rigorous would be appreciated!