Factorisation properties of natural numbers #
This file defines abundant, pseudoperfect, deficient, and weird numbers and formalizes their relations with prime and perfect numbers.
Main Definitions #
Nat.Abundant: a natural numbernis abundant if the sum of its proper divisors is greater thannNat.Pseudoperfect: a natural numbernis pseudoperfect if the sum of a subset of its proper divisors equalsnNat.Deficient: a natural numbernis deficient if the sum of its proper divisors is less thannNat.Weird: a natural number is weird if it is abundant but not pseudoperfect
Main Results #
Nat.deficient_or_perfect_or_abundant: A positive natural number is either deficient, perfect, or abundant.Nat.Prime.deficient: All prime natural numbers are deficient.Nat.infinite_deficient: There are infinitely many deficient numbers.Nat.Prime.deficient_pow: Any natural number power of a prime is deficient.
Implementation Notes #
- Zero is not included in any of the definitions and these definitions only apply to natural numbers greater than zero.
References #
- [R. W. Prielipp, PERFECT NUMBERS, ABUNDANT NUMBERS, AND DEFICIENT NUMBERS][Prielipp1970]
Tags #
abundant, deficient, weird, pseudoperfect
n : ℕ is abundant if the sum of the proper divisors of n is greater than n.
Equations
- n.Abundant = (n < ∑ i ∈ n.properDivisors, i)
Instances For
n : ℕ is deficient if the sum of the proper divisors of n is less than n.
Equations
- n.Deficient = (∑ i ∈ n.properDivisors, i < n)
Instances For
A positive natural number n is pseudoperfect if there exists a subset of the proper
divisors of n such that the sum of that subset is equal to n.
Equations
- n.Pseudoperfect = (0 < n ∧ ∃ s ⊆ n.properDivisors, ∑ i ∈ s, i = n)