Quantitative AptitudeVery hardTCS NQT Digital · Infosys SP

The number N = 123456789101112…2930 is formed by writing the integers 1 to 30 one after another (51 digits). What is the remainder when N is divided by 11?

  1. A. 7
  2. B. 3
  3. C. 10
  4. D. 1

Correct answer: A. 7

Use the divisibility rule for 11: take the alternating sum of the digits starting from the right. For these 51 digits it equals 62, and 62 ≡ 7 (mod 11). The digit sum (168) is only useful for mod 9, and dropping the last number (30) changes the residue.

More Number System, LCM and HCF questions

Exams that ask this topic