Re: Mod 2011
- From: "Nick" <tulse04-news1@xxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 14:41:09 -0000
"Jyrki Lahtonen" <lahtonen@xxxxxx> wrote in message
news:eoihr0$1ac0$2@xxxxxxxxxxxxxxxxx
León-Sotelo wrote:
Determine the remainder when 1004! is divided by 2011.
Thanks
León-Sotelo
Check whether 2011 is a prime or not. If it isn't, the
answer is easy to deduce. If it is (as I suspect), then
one has to resort to Wilson's theorem (and basic facts about
finite fields). Hint: 1004 is very close to half of 2010.
For the unitiated Wilson's Theorem apparently states:
Iff p is a prime, then (p-1)! is a multiple of p , that is (p-1)! is
equivalent to -1 (mod p)
http://mathworld.wolfram.com/WilsonsTheorem.html
Nick
.
- References:
- Mod 2011
- From: León-Sotelo
- Re: Mod 2011
- From: Jyrki Lahtonen
- Mod 2011
- Prev by Date: Re: Cantor Confusion
- Next by Date: Re: Modulus problem
- Previous by thread: Re: Mod 2011
- Next by thread: Re: Mod 2011
- Index(es):