In mathematics it is called 'sad number' which does not give as a final result 1 in the repeated operation of adding the square of the numbers that compose it, and of each result of the iteration. If a loop does not occur and gives as a final result 1, it is said to be a happy number. See unhappy number.