HappyNumbers
The happy numbers : iterating sum-of-squared-digits reaches 1.
OEIS
A007770HappyNumbersthe whose sum-of-squared-digits iteration reaches 1 (rather than the other cycle, ), an infinite indexed collection.Details
- A lazy indexed collection: . OEIS A007770.
- unranks by scanning forward from the last cached match -- .
- Membership goes through Element: is true (), is false (the other cycle).
Enumeration
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 1 |
|---|---|
| Crosswalk | OEIS |
See also: Count, At, Element, HarshadNumbers