Square of four digit number whose digits are same

Square of four digit number whose digits are same

Let us consider the 4-digit number as aaaa. Let’s see how the square of the number looks like:
https://www.hamaraguru.com/assets/files/2018-01-10/1515568128-832975-imgur-14.jpeg
https://www.hamaraguru.com/assets/files/2018-01-10/1515568500-696828-imgur-15.jpeg
Example:

\( 5555^{2} \) = \( 5^{2} \) / 2\( (5^{2}) \) / 3\( (5^{2}) \) / 4\( (5^{2}) \) / 3\( (5^{2}) \) / 2\( (6^{2}) \) / \( 6^{2} \) = 25 / 50 / 75 / 100 / 75 / 50 / 25 = 30858025
https://www.hamaraguru.com/assets/files/2018-01-10/1515570235-326691-imgur-16.jpeg