Proof: Integer Divisibility by 3 via Polynomials

Click For Summary
SUMMARY

The discussion presents a proof that an integer is divisible by 3 if and only if the sum of its digits is divisible by 3, utilizing polynomial functions. The polynomial is defined as ## P(x)= \Sigma^{m}_{k=0} a_{k} x^{k} ##, where ## N=a_{m}10^{m}+a_{m-1}10^{m-1}+\dotsb +a_{1}10+a_{0} ##. The proof relies on the congruence relation ## 10\equiv 1\pmod {3} ##, leading to the conclusion that ## P(10)\equiv P(1)\pmod {3} ##, thereby establishing the divisibility criterion.

PREREQUISITES
  • Understanding of polynomial functions and their properties.
  • Knowledge of modular arithmetic, specifically congruences.
  • Familiarity with ring homomorphisms in abstract algebra.
  • Basic principles of number theory related to divisibility.
NEXT STEPS
  • Study polynomial functions in depth, focusing on their applications in number theory.
  • Learn about modular arithmetic and its properties, particularly in relation to divisibility rules.
  • Explore ring theory and the concept of ring homomorphisms.
  • Investigate other divisibility rules in number theory, such as those for 9 and 11.
USEFUL FOR

Mathematicians, students of number theory, educators teaching divisibility rules, and anyone interested in the applications of polynomials in mathematics.

Math100
Messages
817
Reaction score
230
Homework Statement
Establish the following divisibility criteria:
An integer is divisible by ## 3 ## if and only if the sum of its digits is divisible by ## 3 ##.
Relevant Equations
None.
Proof:

Let ## P(x)= \Sigma^{m}_{k=0} a_{k} x^{k} ## be a polynomial function.
Then ## N=a_{m}10^{m}+a_{m-1}10^{m-1}+\dotsb +a_{1}10+a_{0} ## for ## 0\leq a_{k}\leq 9 ##.
Since ## 10\equiv 1\pmod {3} ##, it follows that ## P(10)\equiv P(1)\pmod {3} ##.
Note that ## N\equiv (a_{m}+a_{m-1}+\dotsb +a_{1}+a_{0})\pmod {3} ##.
Thus ## 3\mid N\Leftrightarrow N\equiv 0\pmod {3}\Leftrightarrow P(10)\equiv 0\pmod {3}\Leftrightarrow P(1)\equiv 0\pmod {3} ##.
This means ## 3\mid P(1)\Leftrightarrow 3\mid (a_{m}+a_{m-1}+\dotsb +a_{2}+a_{1}+a_{0}) ##.
Therefore, an integer is divisible by ## 3 ## if and only if the sum of its digits is divisible by ## 3 ##.
 
  • Like
Likes   Reactions: fresh_42, malawi_glenn and Delta2
Physics news on Phys.org
Though It is not different from your answer,
10^n \equiv 1(\mod 3)
Proof
For n=0 ##10^0=1\equiv 1(\mod 3)##
Say n satisfy it ##10^{n+1} \equiv 10 \equiv 1(\mod 3)##
prooved
Say abcd...z a decimal positive integer number
abcd...z \equiv a+b+c+d+...+z(\mod 3)
 
  • Like
Likes   Reactions: Delta2
Math100 said:
Homework Statement:: Establish the following divisibility criteria:
An integer is divisible by ## 3 ## if and only if the sum of its digits is divisible by ## 3 ##.
Relevant Equations:: None.

Proof:

Let ## P(x)= \Sigma^{m}_{k=0} a_{k} x^{k} ## be a polynomial function.
Then ## N=a_{m}10^{m}+a_{m-1}10^{m-1}+\dotsb +a_{1}10+a_{0} ## for ## 0\leq a_{k}\leq 9 ##.
Since ## 10\equiv 1\pmod {3} ##, it follows that ## P(10)\equiv P(1)\pmod {3} ##.
Note that ## N\equiv (a_{m}+a_{m-1}+\dotsb +a_{1}+a_{0})\pmod {3} ##.
Thus ## 3\mid N\Leftrightarrow N\equiv 0\pmod {3}\Leftrightarrow P(10)\equiv 0\pmod {3}\Leftrightarrow P(1)\equiv 0\pmod {3} ##.
This means ## 3\mid P(1)\Leftrightarrow 3\mid (a_{m}+a_{m-1}+\dotsb +a_{2}+a_{1}+a_{0}) ##.
Therefore, an integer is divisible by ## 3 ## if and only if the sum of its digits is divisible by ## 3 ##.
Correct, yes.

You have used ##10\equiv 1\pmod 3 \Longrightarrow P(10)\equiv P(1) \pmod 3.##

The reason why this is true is that modulo is a ring homomorphism. A ring is a structure with addition, multiplication (but without division), and the distributive law, e.g. ##\mathbb{Z}##. A ring homomorphism means it respects the two operations. This means
\begin{align*}
a+b \pmod n &\equiv a\pmod n +b \pmod n \\
a\cdot b \pmod n &\equiv a\pmod n \cdot b \pmod n
\end{align*}
Therefore ##P(x) \pmod n \equiv P(x\pmod n)## by consecutive applications of these two laws.
 
Last edited:
  • Like
Likes   Reactions: Math100 and Delta2

Similar threads

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