The sum of two numbers is 21. One of the numbers squared plus 1 is equal to the other number. Given that both numbers are positive, what are the two numbers?