Module docstring
{"# Divisor Finsets
This file defines sets of divisors of a natural number. This is particularly useful as background for defining Dirichlet convolution.
Main Definitions
Let n : ℕ. All of the following definitions are in the Nat namespace:
* divisors n is the Finset of natural numbers that divide n.
* properDivisors n is the Finset of natural numbers that divide n, other than n.
* divisorsAntidiagonal n is the Finset of pairs (x,y) such that x * y = n.
* Perfect n is true when n is positive and the sum of properDivisors n is n.
Conventions
Since 0 has infinitely many divisors, none of the definitions in this file make sense for it.
Therefore we adopt the convention that Nat.divisors 0, Nat.properDivisors 0,
Nat.divisorsAntidiagonal 0 and Int.divisorsAntidiag 0 are all ∅.
Tags
divisors, perfect numbers
"}