Documentation

Iwasawalib.Data.Nat.PrimaryComponent

Primary and prime-to-n component of a natural number (TODO: should go mathlib ???) #

The m-primary component for a non-zero natural number n is the largest divisor of n whose prime factors divide m. This number has explicit expression gcd(n, m ^ n).

Equations
Instances For

    The prime-to-m component for a non-zero natural number n is the largest divisor of n which is coprime to m.

    Equations
    Instances For
      theorem Nat.dvd_primaryComponent_iff {n m k : } (hn : n 0) (hm : m 0) :
      theorem Nat.dvd_primeToComponent_iff {n : } (m : ) {k : } (hn : n 0) :
      theorem Nat.primaryComponent_eq_prod' (n : ) {m : } (hm : m 0) :
      theorem Nat.primeToComponent_eq_prod {n m : } (hn : n 0) (hm : m 0) :