Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


Statement

Let N>0N>0 and let UU be a finite set of pairwise coprime divisors d>1d>1 of NN. Choose one integer residue ada_d for each d∈Ud\in U. The number of integers in [0,N)[0,N) outside all these classes is

QN(U)=N∏d∈Ud∏d∈U(d−1).Q_N(U)=\frac N{\prod_{d\in U}d}\prod_{d\in U}(d-1).

An empty family leaves all NN points uncovered. The source states a lower bound, which also allows its finite input to contain a residue outside the standard range. For actual integer congruence classes with residues normalized modulo dd, the equality above holds.

Complete proof

Put P=∏d∈UdP=\prod_{d\in U}d. Pairwise coprimality and d∣Nd\mid N imply P∣NP\mid N: successively use the elementary fact that coprime divisors have a product dividing the same integer.

The finite Chinese remainder theorem gives a bijection

Z/PZ⟶∏d∈UZ/dZ.\mathbb Z/P\mathbb Z\longrightarrow \prod_{d\in U}\mathbb Z/d\mathbb Z.

Avoiding the specified class in coordinate dd allows exactly d−1d-1 residues. Thus there are ∏(d−1)\prod(d-1) avoiding representatives x0x_0 in [0,P)[0,P). Each has exactly N/PN/P representatives in [0,N)[0,N), namely x0+kPx_0+kP for 0≤k<N/P0\le k<N/P. These representatives are distinct, and Euclidean division by PP gives every avoiding integer uniquely. Multiplication of the two counts proves the formula.

Source and dependencies

Canonical v1, p. 5, Lemma 4.3 (uncovered_card_ge). This is the full counting argument, using the exact finite Chinese remainder theorem stated above as an external standard input. No general CRT proof is repeated.

Bears on