Solving Linear Congruence: Finding Remainder with Modulo 7

  • Thread starter Thread starter Roodles01
  • Start date Start date
  • Tags Tags
    Linear
Click For Summary

Homework Help Overview

The discussion revolves around applying rules of congruence to find the remainder of a large number, specifically using modulo 7. The original poster presents a method involving splitting the number into groups of three digits, calculating remainders, and forming an alternating sum of these remainders.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • The original poster describes a method for calculating the remainder of the number 2468135711201104 when divided by 7, questioning the validity of obtaining a remainder of 7. Other participants discuss the implications of this result and clarify the relationship between congruence and divisibility.

Discussion Status

Participants are actively engaging with the original poster's method, with some questioning the interpretation of the results. There is a recognition that the calculation serves as a test for divisibility by 7, and the discussion is exploring the underlying principles of the method presented.

Contextual Notes

There is an emphasis on the rules of congruence and the specific method of splitting the number into groups of three digits, which may not be universally understood. The original poster expresses confusion regarding the outcome of their calculations, prompting further exploration of the concepts involved.

Roodles01
Messages
125
Reaction score
0
I have a number with which I must use rules of congruence to find the remainder.
rules I must apply are;
split every 3 digits, starting from the right,
find the remainder of each 3 digit number on division by 7
form alternating sum of these remainders.

Thisnumber should be congruent to a modulo 7


the number is 2468135711201104


number 2 468 135 711 201 104
remain 2 6 2 4 5 6

Alternating sum 6-5+4-2+6-2 = 7
So a = 7 (mod 7)

I have gone through this several times with the same result
Would this be right?

Dividing through by 7 only to have a remainder of 7 seems a bit odd!
 
Physics news on Phys.org
Hi Roodles01! :smile:
Roodles01 said:
Thisnumber should be congruent to a modulo 7

Dividing through by 7 only to have a remainder of 7 seems a bit odd!

a is congruent to 7 mod 7 …

what is odd about that? :confused:

(btw, also works for remainders on division by 11 or 13 :wink:)
 
Not only is it "odd" to have a remainder of 7 when dividing by 7, it is impossible! What you are saying is that the remainder is 0. The calculation you have done is a test for divisibility by 7. Yes, 2468135711201104 is divisible by 7. The hard way to do that would have been to actually divide by 7: 2468135711201104 is 7 times 352590815885872!
 
Roodles01 said:
I have a number with which I must use rules of congruence to find the remainder.
rules I must apply are;
split every 3 digits, starting from the right,
find the remainder of each 3 digit number on division by 7
form alternating sum of these remainders.

Thisnumber should be congruent to a modulo 7


the number is 2468135711201104


number 2 468 135 711 201 104
remain 2 6 2 4 5 6

Alternating sum 6-5+4-2+6-2 = 7
So a = 7 (mod 7)

I have gone through this several times with the same result
Would this be right?

Dividing through by 7 only to have a remainder of 7 seems a bit odd!

You've shown that a is divisible by 7, because a = 7 (mod 7) is equivalent to a = 0 (mod 7).

This is one of the tests for divisibility by 7. To see how it works, consider a = 1000x + y.

Now 1000 = 6(mod 7) = -1 (mod 7).

Hence 1000x = -x(mod 7).

So 1000x + y = (y - x) (mod 7).

Therefore splitting a large number into groups of threes ("thousands"), working out the residues modulo 7 and affixing alternate signs to them before summing allows a quick way to calculate the remainder upon division by 7.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K