an integer n is divisible by 3 if and only if the sum of digits of n is divisible by 3. In other words, if n= a0+ 10 a1 +102 a2 +…+ 10k ak, then n is divisible by 3 if and only if a0+a1+a2+…+ak is divisible by 3. Example: 12765312 is divisible by 3 because 1+2+7+6+5+3+1+2=27 is divisible by 3; indeed, 12765312 / 3 = 4255104.

in Algebra 2 Answers by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

Question: an integer n is divisible by 3 if and only if the sum of digits of n is divisible by 3. In other words, if n= a0+ 10 a1 +102 a2 +…+ 10k ak, then n is divisible by 3 if and only if a0+a1+a2+…+ak is divisible by 3.

Proof

lemma1

10^p - 1 = 9*10^(p-1) + 9*10^(p-2) + ... + 9*10 + 9

10^p - 1 = 3k

Hence, 3 | 10^p - 1  (3 divides 10^p - 1)

Let N = a0 + 10.a1 +10^2. a2 +…+ 10^n.an

and M = a0 + a1 + a2 +…+ an

If 3 | M, then M = 3q, say.

N - M = (a0 + 10.a1 +10^2. a2 +…+ 10^n.an) - (a0 + a1 + a2 +…+ an)

N - M = a1(10 - 1) + a2(10^2 - 1) + ... + an(10^n - 1)

Using lemma1,

N - M = a1.3k1 + a2.3k2 + ... + an.3kn = 3m, say.

N - 3q = 3m

N = 3s  => 3 | N

Q.E.D.

 

by Level 11 User (81.5k points)

Related questions

1 answer
asked Mar 23, 2013 in Algebra 2 Answers by anonymous | 641 views
1 answer
asked Mar 12, 2023 in Geometry Answers by anonymous | 351 views
1 answer
1 answer
asked May 19, 2022 by Kashmir | 366 views
1 answer
asked Feb 18, 2021 in Algebra 1 Answers by Mnisi Level 1 User (120 points) | 1.0k views
1 answer
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,542 questions
99,804 answers
2,417 comments
523,261 users