Anton’s congruence


For every n∈ℕ (n⁢!¯)p stands for the productPlanetmathPlanetmath of numbers between 1 and n which are not divisible by a given prime p. And we set (0⁢!¯)p=1.

The corollary below generalizes a result first found by Anton, Stickelberger, and Hensel:

Let N0 be the least non-negative residue of n(modps) where p is a prime numberMathworldPlanetmath and n∈ℕ. Then

(n⁢!¯)p≡(±1)⌊n/ps⌋⋅(N0⁢!¯)p(modps).
Proof.

We write each r in the product below as i⁢ps+j to get

(n⁢!¯)p = ∏1≤r≤nps÷̸rr
= (∏0≤i≤⌊n/ps⌋-11≤j<psps÷̸ji⁢ps+j)⁢(∏i=⌊n/ps⌋1≤j≤N0ps÷̸ji⁢ps+j)
≡ ∏i=0⌊n/ps⌋-1∏1≤j<psps÷̸jj⋅∏j=1ps÷̸jN0j)
≡ (ps⁢!¯)p⌊n/ps⌋⋅(N0⁢!¯)p(modps).

From Wilson’s theorem for prime powers it follows that

(n⁢!¯)p≡{(N0⁢!¯)p⁢ifp=2,s≥3(-1)⌊n/ps⌋⋅(N0⁢!¯)potherwise.(modps).

∎

Title Anton’s congruenceMathworldPlanetmathPlanetmathPlanetmath
Canonical name AntonsCongruence
Date of creation 2013-03-22 13:22:49
Last modified on 2013-03-22 13:22:49
Owner Thomas Heye (1234)
Last modified by Thomas Heye (1234)
Numerical id 10
Author Thomas Heye (1234)
Entry type Theorem
Classification msc 11A07
Related topic FactorialMathworldPlanetmath