Solving equations via substitution

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
jackscholar
Messages
73
Reaction score
0
I am trying to solve an equation that involves substitution.

I was given k= 7 in the equation n=k+c
i was also given n=2^c-1
I figured that 7+c could be substituted into the equation as n, so I got
7+c=2^c-1 and therefore c=2^c-8.
The problem is that the answer I want is c=4...but substituting 4 as C does not give me a correct answer. Any help would be greatly appreciated.
Thank you
 
Mathematics news on Phys.org
This pertains to hamming codes, so n is the total number of bits, k is the amount of information digits and c is the amount of check digits. I was given another example aswell. This example says: Suppose there are four information digits.
Then n=4+c
and n=2^c-1
then 4+c=2^c-1
hence c=2^c-5