Find the last 6 digits of 1 6 1 5 6 4 .
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.
The second conclusion of your posting is not understandable for me! Can you please explain?
Log in to reply
I will be glad to explain. Which exactly is the second conclusion?
Log in to reply
This one immediately after "...we know that". Thanks.
Log in to reply
@Andreas Wendler – Yes, that is an important principle in the modular arithmetic of prime powers: If a ≡ b ( m o d p k ) , where p is prime, then a p ≡ b p ( m o d p k + 1 ) . To see this, write b = a + n p k and take the p th power, using the binomial theorem. All the terms on the RHS except possibly a p will factor through p k + 1 . In my solution, I'm using this principle five times in a row, for p = 5 .
Does this make sense?
Log in to reply
@Otto Bretscher – Thank you very much, Sir. I never heard about this principle but will keep it in mind now! The proof was not difficult with your help!
@Otto Bretscher – Woah! This is literally awesome! I'm adding this trick into my arsenal of modular arithmetic tricks! Thank you, Comrade Otto!
May I know what's the relevance of Galileo to this problem?
Log in to reply
Have a look at Galileo's year of birth and you will know! ;-)
I thought about this , a ≡ b (mod z) , then , a n ≡ b n (mod z n ) for any n
Nice solution btw ...@Otto Bretscher
Log in to reply
Yes, good point: I am using this type of congruence too, with n = 2 6 , to go from 2 6 2 5 0 ≡ − 1 ( m o d 5 6 ) to 2 6 2 5 6 ≡ − 2 6 ( m o d 1 0 6 ) .
The condition for a p ≡ b p mod p k + 1 should be a should not be prime right ? @Otto Bretscher
Log in to reply
p is required to be prime... no conditions are imposed on a and b
Since 6 4 = 5 × 1 3 − 1 we have 6 4 5 5 ≡ ( − 1 ) 5 5 ≡ − 1 modulo 5 6 . If it were true that 1 6 1 5 6 4 ≡ 6 4 modulo 5 6 , then 6 4 5 5 ≡ 1 6 4 × 3 9 1 × 5 5 = 1 6 3 9 1 ϕ ( 5 6 ) ≡ 1 modulo 5 6 , which is not the case. Thus 6 4 5 5 ≡ 6 4 modulo 5 6 .
Now 1 6 = 3 × 5 + 1 , so that 1 6 3 1 2 5 = 1 6 5 5 ( 1 6 1 5 6 4 ) 2 ≡ 1 6 3 1 2 8 ≡ ≡ 1 1 6 3 ≡ 6 4 2 modulo 5 6 , and hence 1 6 1 5 6 4 ≡ ± 6 4 modulo 5 6 . From the first paragraph, we deduce that 1 6 1 5 6 4 ≡ − 6 4 modulo 5 6 .
On the other hand, it is clear that 1 6 1 5 6 4 ≡ 0 modulo 2 6 , from which we deduce that 1 6 1 5 6 4 ≡ − 6 4 modulo 1 0 6 . The last 6 digits of 1 6 1 5 6 4 are 1 0 0 0 0 0 0 − 6 4 = 9 9 9 9 3 6 .
Another careful solution! Thanks! (+1)
Here is a question for you, just to clarify: If x 2 ≡ 6 4 2 ( m o d 5 6 ) , how do you know that x ≡ ± 6 4 ?
Log in to reply
x + 6 4 and x − 6 4 cannot both be divisible by 5 , since 1 2 8 is not. Thus one or the other is divisible by 5 6 .
Log in to reply
Yes, exactly. It would not work mod 8, for example, where x 2 ≡ 3 2 has 4 solutions.
Problem Loading...
Note Loading...
Set Loading...
Since 4 ≡ − 1 ( m o d 5 ) , we know that 4 5 5 ≡ − 1 5 5 = − 1 ( m o d 5 6 ) . Now 4 5 5 ≡ 2 2 × 5 5 = 2 6 2 5 0 ≡ − 1 ( m o d 5 6 ) . Multiplying through with 2 6 = 6 4 , we find that 2 6 2 5 6 = 1 6 1 5 6 4 ≡ − 6 4 ≡ 9 9 9 9 3 6 ( m o d 1 0 6 ) .