Olympiad workbook
- Exam
- Olympiad workbook
- Subject
- IOQM
- Chapter
- Basics of Mathematics
Olympiad workbook · IOQM · Basics of Mathematics
For each positive integer n , consider the highest common factor h_...
For each positive integer n , consider the highest common factor of the two numbers and . For , find the largest value of .
Correct answer
97
Step-by-step solution
is not divisible by
! is divisible by
so
also ( )! is not divisible by .
so HCF can be only
Let us start by taking
and 100 !
is not possible as 100 divides 99 !
composite number will not be able to make it
so let us take prime i.e.
now 96 ! +1 and 97 ! are both divisible by 97
so
(by Wilson's theorem ) is divisible by )