Q17. A number N is formed by writing 9 for 99 times. What is the remainder if N is divided by 13 ?
Detailed Solution
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.
More Quantitative Aptitude Questions
Q78. What is the 489th digit in the number 123456789101112...?...
DQ75. A set (X) of 20 pipes can fill 70% of a tank in 14 minutes. Another set (Y) of 10 pipes fills 3/8th ...
DQ76. If n is a natural number, then what is the number of distinct remainders of (1ⁿ + 2ⁿ) when divided b...
CQ77. Let P = QQQ be a 3-digit number. What is the HCF of P and 481?...
CQ5. 5. What is the least possible number of cuts required to cut a cube into 64 identical pieces?...
BMore from UPSC 2023 CSAT
Q1. Based on the above passage, the following assumptions have been made: 1. Collection, processing and ...
DQ2. Which one of the following statements best reflects the crux of the passage?...
CQ3. Based on the above passage, the following assumptions have been made: 1. Organic farming is inherent...
BQ4. Which one of the following statements best reflects the most logical, rational and practical message...
CQ5. Based on the above passage, the following assumptions have been made: 1. To implement the Sustainabl...
BAce UPSC with AI-powered Practice
LearnPro's test series adapts to your weak topics and shows real analytics.
Explore Courses →