s4.2.2
Exotic Definitions of Numbers
1,000 questions
This section introduces several unique classifications of numbers:
- Happy Number: A number whose sum of the squares of its digits eventually leads to 1. E.g., .
- Extravagant/Wasteful Number: A number whose prime factorization has more digits than the number itself. E.g., . '18' has 2 digits, while '232' has 3.
- Economical/Frugal Number: The opposite of an extravagant number. E.g., .
- Odious Number: A non-negative number with an odd number of 1s in its binary representation. E.g., .
- Evil Number: A non-negative number with an even number of 1s in its binary representation. E.g., .