Modular Arithmetic: Solve (21999+31998+51997) Divided by 7

  • Thread starter Thread starter triac
  • Start date Start date
  • Tags Tags
    Arithmetic
Click For Summary
SUMMARY

The discussion focuses on solving the modular arithmetic problem of finding the smallest positive remainder of (21999 + 31998 + 51997) divided by 7. The initial calculations incorrectly concluded the remainder as 2, while the correct remainder is 6. Key corrections include recognizing that 21999 is congruent to 2 (mod 7) and that 51997 simplifies to 3 (mod 7). The final sum of the remainders leads to the correct answer of 6 mod 7.

PREREQUISITES
  • Understanding of modular arithmetic concepts
  • Familiarity with congruences and their properties
  • Basic algebraic manipulation skills
  • Knowledge of integer division and its implications in modular calculations
NEXT STEPS
  • Study the properties of modular arithmetic in detail
  • Learn about congruence classes and their applications
  • Explore advanced topics such as the Chinese Remainder Theorem
  • Practice solving similar modular problems using different moduli
USEFUL FOR

Students studying number theory, educators teaching modular arithmetic, and anyone looking to improve their problem-solving skills in mathematics.

triac
Messages
19
Reaction score
0

Homework Statement


Okay, so I'm going to find the smallest positive remainder of (21999+31998+51997) divided by seven.


Homework Equations





The Attempt at a Solution


Well, I did like this:
23 is congruent to 1 (mod 7). Therefore, 21999= (23)1999/3 is congruent to 1 (mod 7).
33 is congruent to (-1) (mod 7). Therefore, 31998=(33)666 is congruent to (-1)666=1 (mod 7).
53 is congruent to (-1) (mod 7). Therefore, 51997=(53)665*25 is congruent to (-1)665*4 = -4 (mod 7)

So, all in all the remainder should be two. However it says in the key that it is six, and I can't see where I'm wrong. Got any suggestions?
 
Physics news on Phys.org
triac said:

Homework Statement


Okay, so I'm going to find the smallest positive remainder of (21999+31998+51997) divided by seven.


Homework Equations





The Attempt at a Solution


Well, I did like this:
23 is congruent to 1 (mod 7). Therefore, 21999= (23)1999/3 is congruent to 1 (mod 7).
33 is congruent to (-1) (mod 7). Therefore, 31998=(33)666 is congruent to (-1)666=1 (mod 7).
53 is congruent to (-1) (mod 7). Therefore, 51997=(53)665*25 is congruent to (-1)665*4 = -4 (mod 7)

So, all in all the remainder should be two. However it says in the key that it is six, and I can't see where I'm wrong. Got any suggestions?

Here's what I get:
23 is congruent to 1 (mod 7). Therefore, 21999= (23)666*2 is congruent to 2 (mod 7) (not 1 mod 7 as you had).
33 is congruent to (-1) (mod 7). Therefore, 31998=(33)666 is congruent to (-1)666=1 (mod 7).
53 is congruent to (-1) (mod 7). Therefore, 51997=(53)665*25 is congruent to (-1)665*4 = -4 (mod 7) = 3 mod 7.

Add 'em up and you get 6 mod 7.
 
Ok, thanks a lot!
I just wonder, why is it wrong to do the way I did, why doesn't it work?
 
Hi triac! :smile:
triac said:
I just wonder, why is it wrong to do the way I did, why doesn't it work?

Because 1999/3 isn't a whole number. :wink:
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
4K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K