A designer attempts to arrange the characters of his artwork in the form of a square grid with equal numbers of rows and columns, but finds that 24 characters are left out. When he tries to add one more row and column, he finds that he has 25 too few characters. Find the number of characters used by the designer.
A word problem is solved.