Find the two numbers nearest to the which are exactly divisible by each .
The numbers which are exactly divisible by are the multiples of the LCM of the given numbers.
∴
Now, dividing
We get remainder
Step 1:
∴ Number just less than and exactly divisible by the given numbers
Step 2:
Number just greater than and exactly divisible by the given numbers
Hence are the two numbers nearest to the which are exactly divisible by each .