QUESTIONS
1. You need to refer to the sections on Congruence and Arithmetic mod...
Jun 5, 2024
Solution by Steps
step 1
To show that 10≡31, we start by noting that 10=3×3+1. Therefore, 10≡1(mod3)
step 2
For any positive integer k, 10k≡31k=1. This follows from the property of congruences that if a≡b(modm), then ak≡bk(modm)
step 3
To show that A×10k≡3A, we use the result from step 2. Since 10k≡1(mod3), we have A×10k≡A×1=A(mod3)
step 4
Consider a number N with digits [ak,ak−1,⋯,a1,a0]. This number can be written as N=ak×10k+ak−1×10k−1+⋯+a1×10+a0
step 5
Using the result from step 3, we have ai×10i≡ai(mod3) for each digit ai. Therefore, N≡ak+ak−1+⋯+a1+a0(mod3)
step 6
Since N≡ak+ak−1+⋯+a1+a0(mod3), N is divisible by 3 if and only if the sum of its digits ak+ak−1+⋯+a1+a0 is divisible by 3
step 7
A number is divisible by 6 if and only if it is divisible by both 2 and 3. Therefore, a test for divisibility by 6 is to check if the number is even (last digit is 0, 2, 4, 6, or 8) and if the sum of its digits is divisible by 3
Answer
The test for divisibility by 3 works because 10k≡1(mod3), and a number is divisible by 3 if the sum of its digits is divisible by 3. A test for divisibility by 6 is to check if the number is even and if the sum of its digits is divisible by 3.
Key Concept
Divisibility rules
Explanation
The divisibility rule for 3 is based on the property that 10k≡1(mod3). For 6, a number must be divisible by both 2 and 3.
Solution by Steps
step 1
To show that 10≡31, we start by noting that 10=3×3+1. Therefore, 10≡1(mod3)
step 2
For any positive integer k, 10k≡31k=1. This follows from the property of congruences that if a≡b(modn), then ak≡bk(modn)
step 3
To show that A×10k≡3A for any positive integers k and A, we use the result from step 2. Since 10k≡1(mod3), we have A×10k≡A×1=A(mod3)
step 4
Consider a number N with digits [ak,ak−1,⋯,a1,a0]. This number can be written as N=ak×10k+ak−1×10k−1+⋯+a1×10+a0
step 5
Using the results from steps 2 and 3, we have N≡3ak+ak−1+⋯+a1+a0. Therefore, N is divisible by 3 if and only if the sum of its digits ak+ak−1+⋯+a1+a0 is divisible by 3
step 6
For divisibility by 6, a number must be divisible by both 2 and 3. A number is divisible by 2 if its last digit is even. Therefore, a number is divisible by 6 if the sum of its digits is divisible by 3 and its last digit is even
Answer
A number is divisible by 3 if the sum of its digits is divisible by 3. A number is divisible by 6 if the sum of its digits is divisible by 3 and its last digit is even.
Key Concept
Divisibility rules for 3 and 6
Explanation
The key concept is that a number's divisibility by 3 can be determined by the sum of its digits, and for divisibility by 6, the number must also have an even last digit.