Placement AptitudeHardTCS NQT · Accenture pattern

A 300-digit number is formed by writing the block 123 one hundred times: 123123123…123. What is the remainder when it is divided by 99?

  1. A. 6
  2. B. 0
  3. C. 33
  4. D. 24

Correct answer: C. 33

Work modulo 9 and 11. Digit sum = 100 × 6 = 600 ≡ 6 (mod 9). For 11, since 1000 ≡ −1 (mod 11), the number ≡ 123 × (1 − 1 + 1 − … − 1) = 0 (mod 11), because there are 100 blocks. The remainder r < 99 with r ≡ 0 (mod 11) and r ≡ 6 (mod 9) is 33. 6 is only the remainder mod 9.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic