Thread Closed

Modular Arithematic-see if my answer is correct

 
Share Thread
Jan25-09, 08:29 PM   #1
 

Modular Arithematic-see if my answer is correct


Q- What is the remainder when 1+2+2[tex]^{2}[/tex]+...+2[tex]^{219}[/tex] is divided by 5.

Solution: 2[tex]^{0}[/tex]=1 mod5
2[tex]^{1}[/tex]=2 mod5
2[tex]^{2}[/tex]=4 mod5
2[tex]^{3}[/tex]=3 mod5
2[tex]^{4}[/tex]=1 mod5

Now I take (1,2,4,3) to be a set numbers. Since the summation goes to 219, there are a total of 220/4 = 55 sets. So I add 1+2+4+3= 10 and 10*55 = 550 <- my answer.
PhysOrg.com science news on PhysOrg.com

>> City-life changes blackbird personalities, study shows
>> Origins of 'The Hoff' crab revealed (w/ Video)
>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
Jan25-09, 08:30 PM   #2
 
Can anyone see if this is correct.
Jan25-09, 10:58 PM   #3
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
No, it has a couple of errors. First, how many residues did you compute (4 or 5)? Or how many congruence classes are there modulo 5?

Second, can the remainder exceed the divisor?
Jan26-09, 12:04 AM   #4
 

Modular Arithematic-see if my answer is correct


i computed 4 residues, the pattern 1,2,3,4 keeps on repeating. you are right about remainder exceeding the divisor. any ideas about how i should compute this?
Jan26-09, 06:50 AM   #5
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Oops, I made a silly mistake. You are correct that the pattern 1,2,4,3 is repeating, since [itex]2^{m+4} \equiv 2^m ~(mod 5)[/itex].

So you have found out that:

[tex]\sum_{n=0}^{219}2^n \equiv 550~(mod 5) [/tex]

What is the least residue of 550 (mod 5)? That is the required answer.

Now alternatively, you should also be capable of identifying the kind of series that is given to you and evaluating it directly (before looking at congruences).
Jan26-09, 07:53 PM   #6
 
so 550 mod 5 is 0, as that leaves no remainder right?
Jan26-09, 08:49 PM   #7
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Correct.

Have you thought about the more direct approach, by summing the series?
Jan26-09, 10:23 PM   #8
 
Geometric series?

Spoiler
Doesn't that sum to [tex] 2^{220} - 1 [/tex]?
Thread Closed

Similar discussions for: Modular Arithematic-see if my answer is correct
Thread Forum Replies
Is the answer to this correct? Introductory Physics Homework 3
Is my answer correct?? Introductory Physics Homework 3
Is this Wavelength answer correct? Introductory Physics Homework 2
Is the textbook's answer correct? Calculus & Beyond Homework 2
Looking for Correct Answer Introductory Physics Homework 6