If N2 = 12345678987654321, then how many digits does the number N have?
Correct Answer :
9
Solution :
The correct answer is 9 (Option 2).
To find the number of digits in N, let us analyze the given value of :
Notice the symmetric pattern of consecutive integers increasing up to 9 and then decreasing back to 1: 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2, 1.
We know a standard mathematical property of numbers consisting entirely of the digit 1 (repunit numbers):
(2 digits of 1, peak value is 2)
(3 digits of 1, peak value is 3)
(4 digits of 1, peak value is 4)
Following this pattern, when a number consisting of k ones is squared, the result forms a palindromic number whose central peak digit equals k (for ).
Since the peak digit in is 9, the number N must consist of 9 ones:
Counting the digits in N, we find that the number N has exactly 9 digits.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.