Primitive elements of a set with respect to divisibility #
An element n is primitive in a set S ⊆ ℕ if n ∈ S and no proper divisor of n is in S.
This concept appears naturally when studying sequences closed under "divisor inheritance" -
if every member n of a sequence has the property that m * n is also in the sequence
for coprime m, then the primitive elements generate the entire sequence.
Main definitions #
Set.IsPrimitive: A natural numbernis primitive inSifn ∈ Sandn.properDivisorsis disjoint fromS.Set.primitives: The set of primitive elements ofS.
Main results #
Set.IsPrimitive.mem: A primitive element is in the set.Set.IsPrimitive.not_mem_of_properDivisor: Proper divisors of a primitive element are not in the set.Set.one_isPrimitive_iff:1is primitive inSiff1 ∈ S.Set.prime_isPrimitive_iff: A primepis primitive inSiffp ∈ Sand1 ∉ S.
An element n is primitive in a set S ⊆ ℕ if n ∈ S and no proper divisor of n
is in S.
Equations
- S.IsPrimitive n = (n ∈ S ∧ Disjoint (↑n.properDivisors) S)
Instances For
theorem
Set.IsPrimitive.disjoint_properDivisors
{S : Set ℕ}
{n : ℕ}
(h : S.IsPrimitive n)
:
Disjoint (↑n.properDivisors) S
theorem
Set.IsPrimitive.not_mem_of_properDivisor
{S : Set ℕ}
{n d : ℕ}
(h : S.IsPrimitive n)
(hd : d ∈ n.properDivisors)
:
d ∉ S
theorem
Set.IsPrimitive.not_mem_of_dvd_of_lt
{S : Set ℕ}
{n d : ℕ}
(h : S.IsPrimitive n)
(hdvd : d ∣ n)
(hlt : d < n)
:
d ∉ S