If a number N leaves the same remainder r when divided by a, b and c, then N − r is divisible by all three. So N − r is a common multiple of a, b and c, and the least such N is:
N = LCM(a, b, c) + r and in general N = LCM × k + r
Worked example 1: remainder 3 each time
Least number leaving remainder 3 when divided by 4, 6 and 10: LCM(4, 6, 10) = 60, so N = 63. Check: 63 = 4 × 15 + 3 = 6 × 10 + 3 = 10 × 6 + 3.
Every such number is 60 apart: 63, 123, 183, and so on. That single fact drives all the harder versions below.