Factorials are going to drive you crazy!

Find the remainder when the following number is divided by 101 101

102010 ! ( 51005 ! ) 2 \dfrac{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

Jake Lai
Dec 7, 2014

We use the congruence ( a p b p ) ( a b ) m o d p {ap \choose bp} \equiv {a \choose b} \mod p .

Setting p = 101 p = 101 and a = 2 b = 1010 a = 2b = 1010 gives ( 102010 51005 ) ( 1010 505 ) m o d 101 {102010 \choose 51005} \equiv {1010 \choose 505} \mod 101 .

Applying the congruence again gives ( 102010 51005 ) ( 10 5 ) 50 m o d 101 {102010 \choose 51005} \equiv {10 \choose 5} \equiv \boxed{50} \mod 101 .

Can be done with Lucas's theorem too! Well, nice question!

Kartik Sharma - 6 years, 6 months ago

An interesting and stronger result is Wolstenholme's theorem .

Jake Lai - 6 years, 6 months ago

An interesting and tough ques...

Aditya Raj - 6 years, 6 months ago

Yeah it was kinda tough took me 3 days.

Rajarshi Chatterjee - 5 years, 12 months ago
Aditya Raj
Dec 13, 2014

By Lucas' theorem: Since (102010)!/(51005!)^2 = 102010 C 51005 = (102010 51005), we can use Lucas' theorem for modulo 101. Since 102010 = 10 x 101^2 and 51005 = 5 x 101^2, 102010 C 51005 is congruent to 10 C 5 = 252 and is congruent to 50 (mod 101).

We use Lucas' theorem: Since (102010)!/(51005!)^2 = 102010 C 51005 = (102010 51005), we can use Lucas' theorem for modulo 101. Since 102010 = 10 x 101^2 and 51005 = 5 x 101^2, 102010 C 51005 is congruent to 10 C 5 = 252 and is congruent to 50 (mod 101).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...