[127R +14] =[131T + 66], solve for R, T
R = 118 and S = 114, Therefore:
127 x 118 + 14 =15,000 The smallest number.
LCM of: 127, 131 =127 x 131 (both are primes)
=16,637. Then, the general formula is:
16,637C + 15,000. And for C=0, 1, 2......etc. we have:
15,000 - The smallest number that satisfies the above conditions.
31,637
48,274.....etc.