Natural number multiplicity
This file contains lemmas about the multiplicity function (the maximum prime power divding a number).
Main results
There are natural number versions of some basic lemmas about multiplicity.
There are also lemmas about the multiplicity of primes in factorials and in binomial coefficients.
The multiplicity of a divisor m
of n
, is the cardinality of the set of
positive natural numbers i
such that p ^ i
divides n
. The set is expressed
by filtering Ico 1 b
where b
is any bound at least n
The multiplicity of a prime in fact n
is the sum of the quotients n / p ^ i
.
This sum is expressed over the set Ico 1 b
where b
is any bound at least n
A prime power divides fact n
iff it is at most the sum of the quotients n / p ^ i
.
This sum is expressed over the set Ico 1 b
where b
is any bound at least n
The multiplity of p
in choose n k
is the number of carries when k
and n - k
are added in base p
. The set is expressed by filtering Ico 1 b
where b
is any bound at least n
.
A lower bound on the multiplicity of p
in choose n k
.