If the perfect number $496$ is expressed in the form $2^{k-1}(2^{k}-1)$ and the perfect number $8128$ is expressed in the form $2^{m-1}(2^{m}-1)$.Find the value of $k+m$

Hint:Try putting small primes in place of $k$ and $m$.

Your answer seems reasonable.
Find out if you're right!