Find the largest number which divides and leaves the remainder in each.
Find the HCF for the given set of numbers.
Let be the required largest number
Subtract from and
Finding HCF using prime factorization,
The common factors are and
Hence, is the largest number that divides both and and leaves a remainder in each case.