Commit 2020-10-01 16:43 7767ef8b
View on Github →feat(number_theory/divisors): defines the finsets of divisors/proper divisors, perfect numbers, etc. (#4310)
Defines nat.divisors n
to be the set of divisors of n
, and nat.proper_divisors
to be the set of divisors of n
other than n
.
Defines nat.divisors_antidiagonal
in analogy to other antidiagonal
s used to define convolutions
Defines nat.perfect
, the predicate for perfect numbers