By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2023 CSAT, question 27

Topic: Number system

Q27

A number NN is formed by writing 9 for 99 times. What is the remainder if NN is divided by 13 ?

  1. (a) 11Correct answer
  2. (b) 9
  3. (c) 7
  4. (d) 1

Solution.

Answer: (a) 11

  1. By Fermat's Little Theorem, 106≡1(mod13)10^6 \equiv 1 \pmod{13}, so any block of six consecutive 99s (999999=9×111111999999 = 9 \times 111111) is divisible by 1313.
  2. Dividing the 9999 digits into 1616 blocks of six 99s leaves the last three digits 999999; since 999=13×76+11999 = 13 \times 76 + 11, the remainder when NN is divided by 1313 is 1111.