GATE / CS ARCHIVE

GATE CSE 2018 / QUESTION 4

Equal remainders and an omitted bound

General Aptitude · Algebra, Equations & Number Patterns · Full GATE CSE 2018 paper

GATE 2018, Q4 1 mark · MCQ
Report issue

Algebra, Equations & Number Patterns

Question 4, GATE 2018: Find the smallest natural number leaving remainder 7 when divided by any of 20, 42, 76. Choices: A 3047; B 6047; C 7987; D 63847.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Our answer: 7 literally; intended C=7987

Method

Subtracting the common remainder converts three congruences to divisibility conditions. Factor 20=2²·5, 42=2·3·7, and 76=2²·19. Take the highest exponent of each prime, not the product of all three divisors. All nonnegative solutions are 7+7980t for integers t≥0. The intended option uses t=1; checking the boundary t=0 exposes the wording defect rather than a calculation error.

Solution

The congruences say N−7 is divisible by 20, 42, 76. Their least common multiple is 2²·3·5·7·19=7980. The least solution with positive quotients is 7987, C. However7 itself is a natural number and leaves remainder 7 on division by all three divisors with quotient 0. The source omits a condition such as N greater than the divisors, so the literal smallest answer is 7, absent from the options.

Original paper, page 1 · Answer key