UPSC Foundation 2026 and JPSC Mentorship admissions open Daily Current Affairs
learnpro Civil Services
LearnPro Menu
Home Current Affairs All Articles
UPSC
UPSC NOTES
STATE PSC
OPTIONAL SUBJECTS
CURRENT AFFAIRS
DAILY EDITORIAL
COURSES
DOWNLOAD NOTES
PYQ Papers Mains Answer Writing Online Courses

PYQ Question

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

A number N is formed by writing 9 for 99 times. What is the remainder if N is divided by 13 ?
  1. A. 11
  2. B. 9
  3. C. 7
  4. D. 1

Answer: A

Explanation

The number N consists of 99 nines. This can be written as N = 9 * (10^99 – 1) / 9 = 10^99 – 1. We need to find (10^99 – 1) mod 13.
First, let’s find the cycle of powers of 10 modulo 13:
10^1 ≡ 10 (mod 13)
10^2 ≡ 100 ≡ 9 (mod 13)
10^3 ≡ 10 * 9 = 90 ≡ 12 (mod 13) or -1 (mod 13)
10^4 ≡ 10 * 12 = 120 ≡ 3 (mod 13)
10^5 ≡ 10 * 3 = 30 ≡ 4 (mod 13)
10^6 ≡ 10 * 4 = 40 ≡ 1 (mod 13)
The cycle length (order) of 10 modulo 13 is 6.
Now, divide the exponent 99 by the cycle length 6: 99 = 6 × 16 + 3.
So, 10^99 ≡ (10^6)^16 × 10^3 ≡ 1^16 × 10^3 ≡ 10^3 (mod 13).
From our cycle, 10^3 ≡ 12 (mod 13).
Therefore, N ≡ (10^99 – 1) ≡ (12 – 1) ≡ 11 (mod 13).
The remainder is 11.