CSAT Solved Papers/ 2025/Q40

2025 CSAT — Q40

Quant Number theory 2.5 marks Easy

If N2=12345678987654321N^2 = 12345678987654321, then how many digits does the number NN have?

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

Worked rationale

The right-hand side is the famous repunit-square palindrome: a string of 11s squared produces 1,121,12321,1234321,1, 121, 12321, 1234321, \dots rising to a peak digit equal to the number of 11s, then descending. The target 1234567898765432112345678987654321 peaks at 99, so it is

1111111119 ones2=12345678987654321.\underbrace{111111111}_{9 \text{ ones}}{}^{\,2} = 12345678987654321.

Hence N=111111111N = 111111111, which has 99 digits.

(Confirm by length: N2N^2 has 1717 digits; a number with dd digits has a square with 2d12d-1 or 2d2d digits, so 2d1=17d=92d - 1 = 17 \Rightarrow d = 9.)

Answer: (b) 9.

Why the other options miss

  • A
    counted one too few: counts the peak digit’s neighbours or miscounts the ascending run, landing one short of 99.
  • C
    counted one too many: counts digit-pairs of N2N^2 (it has 1717 digits) and over-estimates NN‘s length.
  • D
    an arithmetic slip: roughly halves the 1717-digit count upward without the 2d12d-1 rule, over-shooting.

Specialist insight

Two independent routes both land instantly. Pattern recognition: the palindrome 123n321123\ldots n\ldots321 is exactly (11n)2(\underbrace{1\ldots1}_{n})^2, and its peak digit names the count of 11s — here the peak is 99, so NN has 99 ones. Digit-length sanity: a dd-digit number squares to a (2d1)(2d-1)- or 2d2d-digit number; N2N^2 shows 1717 digits, and 2d1=17d=92d-1 = 17 \Rightarrow d = 9 pins it without recognising the pattern at all. Carrying both methods means you answer in seconds and self-check for free — the hallmark of a prepared CSAT solver on a “freebie” item.

The trap, in one line

12345678987654321=111111111212345678987654321 = 111111111^2 (peak digit 99 = nine ones), so NN has 99 digits; the 2d1=172d-1 = 17 length rule confirms it.

← All 2025 CSAT questions