Kaprekar number

In mathematics, a natural number in a given number base is a -Kaprekar number if the representation of its square in that base can be split into two partitions with the 2nd partition being digits in length, that add up to the original number. For example, in base 10, 45 is a 2-Kaprekar number, because 452 = 2025, and 20 + 25 = 45. The numbers are named after D. R. Kaprekar.