What is the greatest number less than 1000 which when divided respecti

What is the greatest number less than 1000 which when divided respectively by 5, 7 and 9 leaves the remainders 3, 5 and 7 respectively ?

943
963
953
989
This question was previously asked in
UPSC CISF-AC-EXE – 2018
The greatest number less than 1000 which satisfies the conditions is 943.
Let the number be N. The conditions are:
N ≡ 3 (mod 5)
N ≡ 5 (mod 7)
N ≡ 7 (mod 9)
Notice that in each case, the remainder is 2 less than the divisor. This means N + 2 is divisible by 5, 7, and 9.
Thus, N + 2 must be a multiple of the Least Common Multiple (LCM) of 5, 7, and 9.
Since 5, 7, and 9 are pairwise coprime, LCM(5, 7, 9) = 5 * 7 * 9 = 315.
So, N + 2 = 315k for some integer k.
N = 315k – 2.
We are looking for the greatest number less than 1000.
For k=1, N = 315(1) – 2 = 313.
For k=2, N = 315(2) – 2 = 630 – 2 = 628.
For k=3, N = 315(3) – 2 = 945 – 2 = 943.
For k=4, N = 315(4) – 2 = 1260 – 2 = 1258, which is greater than 1000.
The greatest number less than 1000 is 943.
This problem is an application of the Chinese Remainder Theorem, but can be solved more directly by observing the pattern in the remainders. Checking the answer: 943 divided by 5 gives 188 with remainder 3. 943 divided by 7 gives 134 with remainder 5 (134 * 7 = 938). 943 divided by 9 gives 104 with remainder 7 (104 * 9 = 936). The conditions are satisfied.