Find the remainder when the following number is divided by 101: ( 5 1 0 0 5 ! ) 2 1 0 2 0 1 0 ! .
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.
you are from an other planet!
Got it...understood....cheers!!!
What is Lucas theorem...link???
Log in to reply
http://en.wikipedia.org/wiki/Lucas'_theorem#Formulation
This problem involves a direct application of Lucas' Theorem. Essentially, the theorem gives a way of calculating large binomial coefficient modulo some prime p easily. It states that given two positive integers m , n and a prime p , the following congruence holds: ( n m ) ≡ ∏ i = 0 k ( n i m i ) ( m o d p ) , where m = ∑ i = 0 k m i p i and n = ∑ i = 0 k n i p i (this is the base p representation of m and n ).
In the problem, we note that ( 5 1 0 0 5 ! ) 2 1 0 2 0 1 0 ! = ( 5 1 0 0 5 1 0 2 0 1 0 ) and that 1 0 2 0 1 0 = 1 0 ( 1 0 1 ) 2 + 0 ( 1 0 1 ) + 0 , 5 1 0 0 5 = 5 ( 1 0 1 ) 2 + 0 ( 1 0 1 ) + 0 . Applying Lucas' Theorem gives us ( 5 1 0 0 5 1 0 2 0 1 0 ) ≡ ( 5 1 0 ) ( 0 0 ) ( 0 0 ) ≡ 2 5 2 ≡ 5 0 ( m o d 1 0 1 ) . Thus, the answer is 5 0 .
Note that ( 5 1 0 0 5 ! ) 2 1 0 2 0 1 0 ! = ( 5 1 0 0 5 1 0 2 0 1 0 ) and 1 0 2 0 1 0 = 1 0 ⋅ 1 0 1 2 5 1 0 0 5 = 5 ⋅ 1 0 1 2 Hence by Lucas' theorem we get ( 5 1 0 0 5 1 0 2 0 1 0 ) ≡ ( 5 1 0 ) ≡ 5 0 ( m o d 1 0 1 )
Problem Loading...
Note Loading...
Set Loading...
Note that the expression is equal to ( 5 1 0 0 5 1 0 2 0 1 0 ) . The base 1 0 1 representations of these numbers are A 0 0 and 5 0 0 , where A represents the single digit expression for 1 0 . Thus, by Lucas' theorem,
( 5 1 0 0 5 1 0 2 0 1 0 ) ≡ ( 5 1 0 ) ≡ 2 5 2 ≡ 5 0 ( m o d 1 0 1 ) .