Euclidean Division

82 Views Asked by At

Let $n\in N-\{0,1\}$: Determine the rest of the euclidean division of $2^n-1$ over $2^{n-1}$

Could anyone give me some hints in order to approach this problem? thank you in advance.

1

There are 1 best solutions below

1
On BEST ANSWER

You have that

$$2^n -1 = 2 \times 2^{n-1} -1 = 1\times 2^{n-1} + (2^{n-1}-1)$$

And $0 \leq (2^{n-1}-1) < 2^{n-1}$, so it is the rest of the division of $2^n -1$ by $2^{n-1}$