⎩ ⎨ ⎧ 3 9 9 ! ≡ a ( m o d 4 0 1 ) 4 0 0 ! ≡ b ( m o d 4 0 1 )
If a , b are the smallest possible positive integers satisfying the above modular equalities, find the value of 4 0 1 a + b correct upto three places of decimals.
Note: You may use the fact that 401 is a prime number.
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.
Nice use of Wilson's Theorem and Divisibility Principles :)
@Brian Charlesworth Instead of linking Wilson's Theorem to it's wikipedia article, why don't you change it to the wiki from Brilliant? Here's the link to Wilson's Theorem Wiki from Brilliant - Wilson's Theorem
Log in to reply
Thanks. I'll remember to link to Brilliant wikis in the future. :)
The last part can be done a little faster: since 401 is prime the integers modulo 401 form a field, so that division is defined. Use 4 0 0 ≡ − 1 : 3 9 9 ! = 4 0 0 4 0 0 ! ≡ − 1 − 1 = 1 .
Problem Loading...
Note Loading...
Set Loading...
Since 4 0 1 is prime, we know from Wilson's Theorem that
4 0 0 ! ≡ − 1 ( m o d 4 0 1 ) ≡ 4 0 0 ( m o d 4 0 1 ) .
Now this implies that 4 0 0 ! = 4 0 0 + 4 0 1 n for some integer n , and so
4 0 0 ! − 4 0 0 = 4 0 1 n ⟹ 4 0 0 ( 3 9 9 ! − 1 ) = 4 0 1 n ⟹ 4 0 0 ∣ n , since g c d ( 4 0 0 , 4 0 1 ) = 1 .
Thus 4 0 0 ( 3 9 9 ! − 1 ) = 4 0 1 ∗ 4 0 0 m for some integer m , and so
3 9 9 ! − 1 = 4 0 1 m , i.e., 3 9 9 ! ≡ 1 ( m o d 4 0 1 ) .
Thus 4 0 1 a + b = 4 0 1 4 0 0 + 1 = 1 .