Binomial coefficients Congruence

Find the remainder when the following number is divided by 101: 102010 ! ( 51005 ! ) 2 . \frac{102010!}{(51005!)^2}.


The answer is 50.

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.

3 solutions

Michael Tong
Dec 13, 2013

Note that the expression is equal to ( 102010 51005 ) {102010 \choose 51005} . The base 101 101 representations of these numbers are A 00 A00 and 500 500 , where A A represents the single digit expression for 10 10 . Thus, by Lucas' theorem,

( 102010 51005 ) ( 10 5 ) 252 50 ( m o d 101 ) {102010 \choose 51005} \equiv {10 \choose 5} \equiv 252 \equiv 50 \pmod {101} .

you are from an other planet!

A Former Brilliant Member - 7 years, 6 months ago

Got it...understood....cheers!!!

Eddie The Head - 7 years, 6 months ago

What is Lucas theorem...link???

Eddie The Head - 7 years, 6 months ago

Log in to reply

http://en.wikipedia.org/wiki/Lucas'_theorem#Formulation

Lab Bhattacharjee - 7 years, 5 months ago

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 m,n and a prime p p , the following congruence holds: ( m n ) i = 0 k ( m i n i ) ( m o d p ) \binom{m}{n} \equiv \prod_{i = 0}^k \binom{m_i}{n_i} \pmod{p} , where m = i = 0 k m i p i m = \sum_{i = 0}^k m_i p^i and n = i = 0 k n i p i n = \sum_{i = 0}^k n_i p^i (this is the base p p representation of m m and n n ).

In the problem, we note that 102010 ! ( 51005 ! ) 2 = ( 102010 51005 ) \frac{102010!}{(51005!)^2} = \binom{102010}{51005} and that 102010 = 10 ( 101 ) 2 + 0 ( 101 ) + 0 102010 = 10(101)^2 + 0(101) + 0 , 51005 = 5 ( 101 ) 2 + 0 ( 101 ) + 0 51005 = 5(101)^2 + 0(101) + 0 . Applying Lucas' Theorem gives us ( 102010 51005 ) ( 10 5 ) ( 0 0 ) ( 0 0 ) 252 50 ( m o d 101 ) \binom{102010}{51005} \equiv \binom{10}{5} \binom{0}{0} \binom{0}{0} \equiv 252 \equiv 50 \pmod{101} . Thus, the answer is 50 \fbox{50} .

Jan J.
Dec 8, 2013

Note that 102010 ! ( 51005 ! ) 2 = ( 102010 51005 ) \frac{102010!}{(51005!)^2} = \binom{102010}{51005} and 102010 = 10 10 1 2 102010= 10 \cdot 101^2 51005 = 5 10 1 2 51005 = 5 \cdot 101^2 Hence by Lucas' theorem we get ( 102010 51005 ) ( 10 5 ) 50 ( m o d 101 ) \binom{102010}{51005} \equiv \binom{10}{5} \equiv \boxed{50} \pmod{101}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...