I know that $2^n-1$ gives you the decimal equivalent for any word consisting of $n$ $1$'s, but how can I demonstrate that in general terms for any word of $n$ $1$'s?
Asked
Active
Viewed 73 times
0
-
It's nozt the decimal equivalent, it's simply the number – Hagen von Eitzen Sep 09 '13 at 20:04
-
Related answers. – Raymond Manzoni Sep 09 '13 at 20:37
2 Answers
1
Sum the implicit geometric series:
$$\underbrace{111\ldots111}_n=\sum_{k=0}^{n-1}2^k=\;?$$

Brian M. Scott
- 616,228
1
Hint: what is the result if you add $1$ to any such word? What does that tell you?

Ben Grossmann
- 225,327