Define a sequence T k such that T 1 = 2 and T n = 2 T n − 1 .
Find the remainder when T 1 + T 2 + T 3 + … + T 2 5 6 is divided by 255.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Small typo at the end: 16 not 13
Can you explain clearly why "Therefore all of T 4 , T 5 , . . . T 2 5 6 leave a remainder 1 when divided by 2 5 5 ."? While the statement is true, I do not see any justification as yet.
Because all the T i where i ≥ 4 is a power of 2 5 6 and 2 5 6 ≡ 1 m o d 2 5 5 so any power of 2 5 6 is also 1 m o d 2 5 5
Log in to reply
Ah, why is it a power of 256? If we had T n = T n − 1 2 , then it's clear that if T i = 2 5 6 then any higher term will be a power of 256. However, because T n = 2 T n − 1 , this is not immediately obvious. That is the justification that I am asking for. Why do we know that T n = 2 5 6 S n ?
Log in to reply
Isn't this a simple induction? Let T n − 1 = 2 5 6 a . Then T n = 2 2 5 6 a = 2 2 5 6 a − 1 ∗ 3 2 ∗ 8 = ( 2 8 ) 3 2 . 2 5 6 a − 1 = 2 5 6 3 2 . 2 5 6 a − 1
Problem Loading...
Note Loading...
Set Loading...
We have
T 1 = 2
T 2 = 4
T 3 = 1 6
Now, all terms after T 3 is a power of 2 8 = 2 5 6 . And 2 5 6 ≡ 1 m o d 2 5 5 .
Therefore all of T 4 , T 5 , . . . T 2 5 6 leave a remainder 1 when divided by 2 5 5 .
So the required remainder is T 1 + T 2 + T 3 + 1 × 2 5 3 = 2 + 4 + 1 3 + 2 5 3 m o d 2 5 5 = 2 0 m o d 2 5 5 . Hence our answer is 2 0