Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Math Undergrad > Re: What values...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 12 Topic 5081 of 5286
Post > Topic >>

Re: What values?

by Stan Brown <the_stan_brown@[EMAIL PROTECTED] > May 3, 2008 at 11:36 AM

Fri, 02 May 2008 23:33:59 -0600 from Virgil <Virgil@[EMAIL PROTECTED]
>:
> In article <030520080037307285%plsperry@[EMAIL PROTECTED]
>,
>  Paul Sperry <plsperry@[EMAIL PROTECTED]
> wrote:
> 
> > -- 
> > Paul Sperry
> > Columbia, SC (USA)
> 
> 4 == -1 (mod 5) so 4^n == (-1)^n (mod 5).

I never really studied exponents in modular arithmetic, so thinking 
out loud I'll try to apply this to 3^n mod 5:

(-2)^n mod 5 could be anything but 0.
Hmm:  3, 9, 27, 81, 243, 729, ...
Seems to work.

I'm guessing that this is a shorthand for binomial expansion. I could 
write out

3^n = (5-2)^n
    = 5^2 + n*(-2)*5^(n-1) + ... + n*(-2)^(n-1)*5 + (-2)^n

Taking that modulo 5, every term drops out except the last. So

3^n mod 5 = (-2)^n mod 5.

What can the values of (-2)^n mod 5 be? -2 becomes 3, 4, -8 becomes 
2, 16 becomes 1, -32 becomes 3, 64 becomes 4, -128 becomes 2, 256 
becomes 1, -512 becomes 3, anything but 0.

It seems that 3^n mod 5 or (-2)^n mod 5 cycles 3,4,2,1 endlessly. I 
guess an inductive proof would be necessary to show it rigorously.

-- 
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                                   http://OakRoadSystems.com
****kata ga nai...
 




 12 Posts in Topic:
what are all the possible value of 4^r (mod 5)
chan <chalong08@[EMAIL  2008-05-02 07:03:45 
Re: what are all the possible value of 4^r (mod 5)
The Qurqirish Dragon <  2008-05-02 07:15:22 
Re: what are all the possible value of 4^r (mod 5)
chan <chalong08@[EMAIL  2008-05-02 08:30:13 
Re: what are all the possible value of 4^r (mod 5)
Barb Knox <see@[EMAIL   2008-05-03 16:18:50 
What values?
William Elliot <marsh@  2008-05-02 20:37:08 
Re: What values?
Paul Sperry <plsperry@  2008-05-03 04:37:31 
Re: What values?
Virgil <Virgil@[EMAIL   2008-05-02 23:33:59 
Re: What values?
Stan Brown <the_stan_b  2008-05-03 11:36:48 
Re: What values?
The World Wide Wade <a  2008-05-03 13:54:09 
Re: What values?
Stan Brown <the_stan_b  2008-05-05 22:36:55 
Re: what are all the possible value of 4^r (mod 5)
"Dana DeLouis"   2008-05-16 11:28:17 
Re: what are all the possible value of 4^r (mod 5)
Pubkeybreaker <pubkeyb  2008-05-19 06:01:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Aug 30 8:32:45 CDT 2008.