Re: Order modulo p^n (Number Theory)
- From: quasi <quasi@xxxxxxxx>
- Date: Mon, 15 Sep 2008 11:28:25 -0400
On Mon, 15 Sep 2008 14:15:37 +0100, Angus Rodgers
<twirlip@xxxxxxxxxxx> wrote:
would someone please explain in gory detail just
how this one is supposed to go?
Here's one version, essentially along the lines described by the OP,
but with more details included ...
proposition:
If p is an odd prime then p+1 has order p^(n-1) mod p^n.
proof:
First, a lemma:
If p is an odd prime and p^r || x, where x in Z and r in N, then
p^(r+1) || (x+1)^p - 1.
proof of the lemma:
Using the binomial theorem,
(x+1)^p - 1 = x^p + c_1*x^(p-1) + ... + c_(p-1)*x
where c_k = (p choose k).
Claim each term on the RHS, except the last, is divisible by p^(r+2),
and the last term is divisible by p^(r+1) but not by p^(r+2).
From this we would immediately get
p^(r+1) || (x+1)^p - 1
as required.
It remains to verify the claim.
First consider the leading term.
p^r || x => p^(pr) || x^k
Since p >= 3 and r >= 1,
p^(pr) || x^k => p^(3r) | x^p => p^(r+2) | x^p
Next consider the other terms.
For k = 1,...,(p-1)
p^1 || c_k
and
p^((p-k)*r) || x^(p-k)
hence
p^((p-k)*r+1) || c_k*x^(p-k)
For k = 1,...,(p-2),
(p-k)*r+1 >= 2*r+1 >= r+2
so p^(r+2) | c_k*x^(p-k)
Finally, for k = (p-1),
(p-k)*r+1 = r+1
so p^(r+1) || c_(p-1)*x
which completes the verification of the claim, and completes the proof
of the lemma.
corollary:
If p is an odd prime, and n in N, then
p^n || (p+1)^(p^(n-1)) - 1
proof:
Proceed by induction.
The verification for n=1 is immediate.
Next, suppose the corollary is true for n=m, for some m in N.
Thus, p^m || (p+1)^(p^(m-1)) - 1.
Letting x = (p+1)^(p^(m-1)) - 1, and applying the lemma,
p^(m+1) || (x+1)^p - 1
that is,
p^(m+1) || (p+1)^(p^m) - 1
which completes the induction, and proves the corollary.
Returning to the proof of the proposition, let s be the order of (p+1)
mod p^n.
By the corollary,
p^n | (p+1)^(p^(n-1)) - 1
hence
(p+1)^(p^(n-1)) = 1 (mod p^n)
It follows that s | p^(n-1).
Applying the corollary again,
p^(n-1) || (p+1)^(p^(n-2)) - 1
hence
p^n does not divide (p+1)^(p^(n-2)) - 1
Equivalently
(p+1)^(p^(n-2)) /= 1 (mod p^n)
and hence, s does not divide p^(n-2).
It follows that s = p^(n-1), which completes the proof.
quasi
.
- Follow-Ups:
- Re: Order modulo p^n (Number Theory)
- From: Angus Rodgers
- Re: Order modulo p^n (Number Theory)
- From: quasi
- Re: Order modulo p^n (Number Theory)
- References:
- Order modulo p^n (Number Theory)
- From: dark.sorrow.mystery@xxxxxxxxx
- Re: Order modulo p^n (Number Theory)
- From: Tonico
- Re: Order modulo p^n (Number Theory)
- From: dark.sorrow.mystery@xxxxxxxxx
- Re: Order modulo p^n (Number Theory)
- From: Angus Rodgers
- Re: Order modulo p^n (Number Theory)
- From: dark.sorrow.mystery@xxxxxxxxx
- Re: Order modulo p^n (Number Theory)
- From: Angus Rodgers
- Order modulo p^n (Number Theory)
- Prev by Date: Hessian of vector-valued functions
- Next by Date: Re: Order modulo p^n (Number Theory)
- Previous by thread: Re: Order modulo p^n (Number Theory)
- Next by thread: Re: Order modulo p^n (Number Theory)
- Index(es):
Relevant Pages
|