Crate happynum

Source

Functionsยง

distinct_is_happy_range
Returns the count of all distinct happy numbers in the range 1 -> n + 1
is_happy
Returns true if n is a happy number