What is the largest 3-digit prime factor of ?
Details and assumptions :
You may consult a List of Primes
This is not a Computer Science problem; this is a Number Theory problem.
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.
We want to find a prime that divides 2 2 2 2 ! and also divides 1 1 1 1 ! , so with the binomial coefficient ( 1 1 1 1 2 2 2 2 ) , that prime must divide 2 2 2 2 ! at least 3 times. To determine that largest prime, we just need to search for primes below 3 2 2 2 2 , which are 7 3 9 , 7 3 3 , 7 2 7 , 7 1 9 , … . By Lucas Theorem, consider modulo 7 3 9
( 1 1 1 1 2 2 2 2 ) ≡ ( 3 7 2 5 ) × ( 1 3 ) ≡ 0 ( m o d 7 3 9 )
So the largest 3-digit prime that divides ( 1 1 1 1 2 2 2 2 ) is 7 3 9