Remainder When Dividing by 6
Last Updated : 07 Nov, 2024
We can use modular arithmetic to find the remainder when any number is divisible by 6.
To determine if a number is divisible by 6 using modular arithmetic, first break the number into its individual digits based on place value. Then, calculate the powers of 10 modulo 6 for each digit’s place value. For example, 100 (mod 6) = 1, 101 (mod 6) = 4, 102 (mod 6) = 4 and so on.
In modulo 6, the powers of 10 is always equivalent to 4 except 100 which is equivalent to 1. This can be seen in the following table:
| 10n (mod 6) |
---|
100 | 1 |
101 | 4 |
102 | 4 |
103 | 4 |
104 | 4 |
105 | 4 |
106 | 4 |
107 | 4 |
Note: When dividing by 6, the remainder can only be 0, 1, 2, 3, 4, or 5.
Steps to Find Remainder When Dividing by 6
We can use following simple steps for any number to find the remainder when divided by 6.
Step 1: Break down the number into its digits and powers of 10.
Step 2: Calculate the modulo for each term and simplify.
- To do this, multiply the sum of all digits except the unit digit by 4, then add the unit digit to this sum. This result is equivalent to taking the modulo 6 of the original number.
Example for Finding Remainder When Dividing by 6
To check if 8274736 is divisible by 6 using modular arithmetic, we need to calculate 8274736 (mod 6). If the result is 0, then the number is divisible by 6.
Step 1: Break the number down
We can express 8274736 in terms of its digits and powers of 10:
8274736 = 8 × 106 + 2 × 105 + 7 × 104 + 4 × 103 + 7 × 102 + 3 × 101 + 6 × 100
Step 2: Calculate the sum modulo 7
Now, we calculate the sum using the modular values of the powers of 10.
- 8274736 (mod 6) = 8 × 106 + 2 × 105 + 7 × 104 + 4 × 103 + 7 × 102 + 3 × 101 + 6 × 100 (mod 6)
- 8274736 (mod 6) ≣ 8 × 4 + 2 × 4 + 7 × 4 + 4 × 4 + 7 × 4 + 3 × 4 + 6 × 1 (mod 6) [Used values from the the provided table]
- 8274736 (mod 6) ≣ 4 × (8 + 2 + 7 + 4 + 7 + 3) + 6 (mod 6)
- 8274736 (mod 6) ≣ 4 × 31 + 6 (mod 6) = 124 + 6 (mod 6) = 130 (mod 6)
Step 3: Calculate 130 (mod 6)
Now, divide 130 by 6 and find the remainder:
130 ÷ 6 = 11 remainder 4
So, 130 (mod 6) ≣ 4 (mod 6)
Thus, 8274736 when divided by 6, leaves 4 as remainder.
Example: Find the remainder when 8173 is divided by 6.
Solution:
8173 = 8 × 103 + 1 × 102 + 7 × 101 + 3 × 100
⇒ 8173 (mod 6) ≣ 8 × 4 + 1 × 4 + 7 × 4 + 3 × 1 (mod 6)
⇒ 8173 (mod 6) ≣ (8 + 1 + 7) × 4 + 3 (mod 6) = 16 × 4 + 3 (mod 6) = 67 (mod 6)
⇒ 8173 (mod 6) ≣ 67 (mod 6) = 1 (mod 6) [as 67 = 6 × 11 + 1]
Thus, Remainder when 8173 is divided by 6 is 1.
Read More,
Similar Reads
Remainder When Dividing by 5 The Remainder Rule for 5 is a simple way to find the remainder when divided by 5.Essentially, the remainder when a number is divided by 5 is the same as the remainder when the last digit of the number is divided by 5.The last digit dictates the remainder when dividing by 5, as shown in the table bel
3 min read
Remainder When Dividing by 8 The Remainder Rule for 8 is a straightforward technique to find the remainder when dividing a number by 8.Essentially, the remainder when a number is divided by 8 can be determined by examining the last three digits of that number.While dividing any number by 8, the only possible remainders are 0, 1
3 min read
Remainder When Dividing by 4 When dividing by 4, the remainder helps determine whether a number is fully divisible by 4 or if a smaller remainder is left over. To find the remainder when a number is divided by 4, you can look at the last two digits of the number:If the last two digits form a number that is divisible by 4, the r
3 min read
Remainder When Dividing by 7 To determine if a number is divisible by 7 using modular arithmetic, first break the number into its individual digits based on place value. Then, calculate the powers of 10 modulo 7 for each digitâs place value. For example, 100 (mod 7) ⣠1, 101 (mod 7) ⣠3, and so on.Multiply each digit by the cor
4 min read
Remainder When Divided by 3 The Remainder Rule for 3 is a simple way to find the remainder when a number is divided by 3.Essentially, the remainder when a number is divided by 3 is the same as the remainder of the sum of its digits when divided by 3.While dividing any number by 3 the only possible remainders are 0, 1, 2. For E
4 min read