HarshadNumbers
The Harshad (Niven) numbers : integers divisible by their own digit sum.
OEIS
A005349HarshadNumbersthe with , an infinite indexed collection.Details
- A lazy indexed collection: -- every digit-sum-1 number (a power of 10) qualifies, so the family never thins out. OEIS A005349.
- unranks by scanning forward from the last cached match -- .
- Membership goes through Element: is true (digit sum 9, ), is false.
Enumeration
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 1 |
|---|---|
| Crosswalk | OEIS |
See also: Count, At, Element, HappyNumbers, SmithNumbers