Find the maximum value of the positive integer n that satisfies
2 n ∣ ∣ ∣ ∣ ∣ ( 2 0 1 7 2 1 0 0 − 2 0 1 5 2 1 0 0 ) .
This problem is a part of <Christmas Streak 2017> series .
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.
How did you get from the second-last step to the last step?
Log in to reply
As a factor 2 0 1 7 − 2 0 1 5 has 1 two's, 2 0 1 7 + 2 0 1 5 has 6 two's, 2 0 1 7 2 + 2 0 1 5 2 , ⋯ , 2 0 1 7 2 9 9 + 2 0 1 5 2 9 9 has 1 two's each.
So the whole number has 1 + 6 + 99 two's in it.
Log in to reply
Oh, I see. Thanks!
I solved this using the binomial theorem, but your solution looks a 100 times simpler. Only problem is, I have NO IDEA what it means. I've never seen this "mod" notation. Could you suggest where I can learn what it is and the pre requisites I would need to be able solve this using it?
Log in to reply
Mod is essentially finding the remainder when it is divided. For example 5 mod 4 = the remainder of 5/4 = 1.
Log in to reply
That's simple, but the solution seems to have used multiple identities or formulae directly. What I mean is, even after you telling me the definition, I don't understand what he first step is trying to say.
Problem Loading...
Note Loading...
Set Loading...
Note that 2 0 1 7 2 k + 2 0 1 5 2 k ≡ 1 2 k + ( − 1 ) 2 k ≡ 2 (mod 4)
Then 2 0 1 7 2 1 0 0 − 2 0 1 5 2 1 0 0 = ( 2 0 1 7 − 2 0 1 5 ) ( 2 0 1 7 + 2 0 1 5 ) ( 2 0 1 7 2 + 2 0 1 5 2 ) ( 2 0 1 7 2 2 + 2 0 1 5 2 2 ) ⋯ ( 2 0 1 7 2 9 9 + 2 0 1 5 2 9 9 ) .
And since 2 0 1 7 + 2 0 1 5 = 4 0 3 2 = 2 6 × 3 2 × 7 ,
n = 1 + 6 + 9 9 = 1 0 6 .