Proof: Divisibility of Integers by 4

Click For Summary
SUMMARY

The proof establishes that an integer \( N \) is divisible by 4 if and only if the number formed by its last two digits, \( a_1 \) and \( a_0 \), is divisible by 4. This is derived from the representation of \( N \) as \( N = a_m 10^m + a_{m-1} 10^{m-1} + \ldots + a_1 10 + a_0 \) and the fact that \( 10^k \equiv 0 \pmod{4} \) for \( k \geq 2 \). The discussion clarifies that the proof applies to all integers, including negative numbers, and emphasizes the concept of "without loss of generality" (w.l.o.g.) in mathematical reasoning.

PREREQUISITES
  • Understanding of integer representation in base 10
  • Familiarity with modular arithmetic, specifically modulo 4
  • Basic knowledge of mathematical proofs and logic
  • Concept of "without loss of generality" in mathematical arguments
NEXT STEPS
  • Study modular arithmetic applications in number theory
  • Explore integer divisibility rules for other bases
  • Learn about mathematical proof techniques, including direct proof and proof by contradiction
  • Investigate the implications of "without loss of generality" in various mathematical contexts
USEFUL FOR

Mathematicians, educators, students studying number theory, and anyone interested in the properties of integers and divisibility rules.

Math100
Messages
817
Reaction score
229
Homework Statement
Establish the following divisibility criteria:
An integer is divisible by ## 4 ## if and only if the number formed by its tens and units digits is divisible by ## 4 ##.
[Hint: ## 10^{k}\equiv 0\pmod {4} ## for ## k\geq 2 ##.]
Relevant Equations
None.
Proof:

Let ## N ## be an integer.
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 ##.
Note that ## 10^{k}\equiv 0\pmod {4} ## for ## k\geq 2 ##.
Thus ## 4\mid N\Leftrightarrow N\equiv 0\pmod {4}\Leftrightarrow a_{1}10+a_{0}\equiv 0\pmod {4} ##.
Therefore, an integer is divisible by ## 4 ## if and only if the number formed by its tens and units digits is divisible by ## 4 ##.
 
Physics news on Phys.org
Correct, but why do you say integers and then restrict everything to positive numbers? The same is true for negative numbers.
 
fresh_42 said:
Correct, but why do you say integers and then restrict everything to positive numbers? The same is true for negative numbers.
I guess I was a bit thoughtless. So should I mention "Let N be a natural number.", instead?
 
Is this exercise necessarily in "modular arithmetics", or can we solve it like in 5th grade (that is when kids are about 11 yo)?
 
Math100 said:
I guess I was a bit thoughtless. So should I mention "Let N be a natural number.", instead?
No. Integers are fine. Everything remains true if you put a minus sign in front of ##N.##

E.g., you can say: Let ##N## be an integer. We assume w.l.o.g. ##N\geq 0## because the negative case can be treated the same way.

w.l.o.g. stands for: without loss of generality. It means that the assumption is allowed because it is no real restriction.
 
  • Like
Likes Delta2 and Math100
Math100 said:
Proof:

Let ## N ## be an integer.
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 ##.
You can write ##N## as:

##\displaystyle N=\left(a_{m}10^{m-2}+a_{m-1}10^{m-3}+\dotsb + a_{3}10+a_{2}\right) \,100 + a_{1}10+a_{0} ##
 

Similar threads

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