math Definition Happy Number A happy number (in base 10) is a positive integer that eventually reaches 1 when you repeatedly replace the number by the sum of the squares of its digits. Example: 19→12+92=82→82+22→68→62+82=100→12+02+02=1.