Skip to content

Unitary divisors

3 fully proved

Unitary divisors

DefinitionUnitary divisors#✓fully proved

For a natural number \(n\), the unitary divisors of \(n\) are the divisors \(d\) of \(n\) that are coprime to the complementary divisor \(n/d\), that is, with \(\gcd(d, n/d) = 1\). For \(n = 0\) there are no unitary divisors.

def unitaryDivisors (n : ℕ) : Finset ℕ :=
  n.divisors.filter fun d => d.Coprime (n / d)
Used by 24

DefinitionSum of unitary divisors#✓fully proved

For a natural number \(n\), \(\sigma^*(n)\) denotes the sum of the unitary divisors of \(n\).

def sigmaStar (n : ℕ) : ℕ :=
  ∑ d ∈ unitaryDivisors n, d
Uses 1
Statement usesUnitary divisors

Primitive elements

DefinitionElements primitive under divisibility#✓fully proved

Let \(S\) be a set of natural numbers. A natural number \(n\) is primitive in \(S\) under divisibility when \(n \in S\) and no proper divisor of \(n\), that is, no divisor \(d\) of \(n\) with \(d < n\), belongs to \(S\).

def IsPrimitiveByDivisibility (S : Set ℕ) (n : ℕ) : Prop :=
  n ∈ S ∧ Disjoint (n.properDivisors : Set ℕ) S

The dependency explorer needs JavaScript and its graph data.

Download the complete graph data.