CSAT Solved Papers/ 2023/Q27

2023 CSAT — Q27

Quant Number theory 2.5 marks Hard

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

  1. A 11 Answer
  2. B 9
  3. C 7
  4. D 1

Worked rationale

A string of 9999 nines is N=99⋯9⏟99=1099−1N = \underbrace{99\cdots9}_{99} = 10^{99} - 1. So work out 1099 mod 1310^{99} \bmod 13, then subtract 11.

Find the order of 1010 mod 1313 (the powers cycle):

101≡10,102≡9,103≡12,104≡3,105≡4,106≡1(mod13).10^1 \equiv 10,\quad 10^2 \equiv 9,\quad 10^3 \equiv 12,\quad 10^4 \equiv 3,\quad 10^5 \equiv 4,\quad 10^6 \equiv 1 \pmod{13}.

The order is 66. Reduce the exponent: 99=6×16+399 = 6\times 16 + 3, so 99≡3(mod6)99 \equiv 3 \pmod 6, giving

1099≡103≡12(mod13).10^{99} \equiv 10^{3} \equiv 12 \pmod{13}.

Therefore

N=1099−1≡12−1=11(mod13).N = 10^{99} - 1 \equiv 12 - 1 = 11 \pmod{13}.

Answer: (a) 11.

Why the other options miss

  • B
    an arithmetic slip: reduces the exponent to ≡2(mod6)\equiv 2 \pmod 6 (a slip in 99 mod 699 \bmod 6), giving 102−1≡810^2 - 1 \equiv 8, or mis-reads the cycle table to land on 99.
  • C
    wrong formula: forgets the "−1-1" (computes a power residue, not 1099−110^{99}-1) or uses a wrong order for 1010.
  • D
    a remainder-rule slip: assumes 1099≡110^{99} \equiv 1 by mis-applying Fermat (1012≡110^{12}\equiv 1, but 99≢0(mod6)99 \not\equiv 0 \pmod{6}), wrongly concluding N≡0N \equiv 0 or echoing a 11.

Specialist insight

The unlock is rewriting a repunit-of-nines as 10k−110^{k} - 1 — then it is a clean order-reduction. The order of 1010 mod 1313 is 66 (not 1212, even though Fermat guarantees 1012≡110^{12}\equiv 1), so reduce 9999 mod 66, not mod 1212. The mandatory final step is subtracting 11; dropping it is the most common −1/3 leak. Build the small cycle table once and read off 103≡1210^3 \equiv 12.

The trap, in one line

N=1099−1N = 10^{99}-1; ord13(10)=6\mathrm{ord}_{13}(10)=6, 99≡3⇒1099≡1299\equiv 3 \Rightarrow 10^{99}\equiv 12, so N≡12−1=11⇒N\equiv 12-1 = 11 \Rightarrow (a).

← All 2023 CSAT questions