WeirdNumbers
The weird numbers -- abundant but not semiperfect -- as a lazy indexed collection.
WeirdNumbersthe abundant with no proper-divisor subset summing to , an infinite indexed collection.Details
- A lazy indexed collection: (infinitely many are known to exist), and unranks the -th by scanning forward, testing and then a subset-sum search over 's proper divisors.
- OEIS A006037. is the smallest: its proper divisors sum past but no subset of them sums to exactly .
- Membership goes through Element: is true, is false (abundant, but semiperfect).
Enumeration
Examples
1 more kept as data, checked against the oracles See also: Count, At, Element, AbundantNumbers, SemiperfectNumbers