Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.3.4 (Divisibility criterion by 3,9)
Exercise 1.3.4 (Divisibility criterion by 3,9)
Prove that an integer is divisible by if and only if the sum of its digits is divisible by . Prove that an integer is divisible by if and only if the sum of its digits is divisible by .
Answers
Proof.
We use the same notations than in Problem 2, where .
Since , , so is divisible by if and only if the sum of its digits is divisible by .
Since , we have the same result with . □