My professor gave an example located on slide 3 of this pdf: can anybody explain to me how he ended up with m_n = 2^(n) – 1. Thanks!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The step is from
mn =2n−1 +2n−2 +…+22 +2+1.
to
mn = 2n − 1
There are two ways to make the step. One is to recognize this as a geometric series, and know the rule:
sum=(1-rn)/(1-r)
The other is to have played around enough with powers of two to know that if you add up a bunch of them starting from 1, you get the next one, minus one.