Last-Two-Digits Test for 4

#hsc-maths#proofs#medium

Divisibility rules are a staple of the HSC Mathematics Extension 1 syllabus, particularly in the Proofs topic where you learn to construct rigorous arguments. In this problem, we explore why a number is divisible by 4 exactly when its last two digits are – a fact you’ve likely used without proof. By working through the biconditional structure and modular arithmetic, you’ll strengthen your ability to write clear, logical proofs that link algebraic representation to modular congruences.

Problem Statement

Prove that a number is divisible by 4 if and only if the last two digits form a number divisible by 4.


Hints

Attempt the proof independently first. Focus on the key theorem, algebraic transformation, or contradiction setup that links the hypothesis to the target conclusion.


Solutions

Biconditional Proof (If and Only If)

This requires proving both directions:

Forward Direction (    \implies): If NN is divisible by 4, then its last two digits form a number divisible by 4.

Reverse Direction (    \impliedby): If the last two digits form a number divisible by 4, then NN is divisible by 4.

Setup: Express any integer NN as:

N=100A+LN = 100A + L

where AA is the number formed by all digits except the last two, and LL is the two-digit number formed by the last two digits (0L990 \leq L \leq 99).

This representation is useful because it isolates the final two digits in LL and bundles everything else into AA. Since 100100 is a multiple of 44, the contribution of the 100A100A term modulo 44 is zero, making the analysis very clean.

Forward Direction Proof:

We assume that NN is already a multiple of 44 and show that LL must be too. Assume 4N4 \mid N, so N0(mod4)N \equiv 0 \pmod{4}. Substituting the digit representation into this congruence gives:

100A+L0(mod4)\begin{aligned} 100A + L &\equiv 0 \pmod{4} \end{aligned}

Since 100=4×25100 = 4 \times 25, we have 100A0(mod4)100A \equiv 0 \pmod{4}. Because 100100 is a multiple of 44, any whole multiple of 100100 is certainly divisible by 44. This term disappears modulo 44, leaving us with just LL:

0+L0(mod4)L0(mod4)\begin{aligned} 0 + L &\equiv 0 \pmod{4} \\ L &\equiv 0 \pmod{4} \end{aligned}

Thus 4L4 \mid L.

Reverse Direction Proof:

Now we prove the converse. Assuming the last two digits LL are divisible by 44, we need to show that the whole number NN is divisible by 44. Assume 4L4 \mid L, so L0(mod4)L \equiv 0 \pmod{4}.

Since 100=4×25100 = 4 \times 25, we have 100A0(mod4)100A \equiv 0 \pmod{4}. Again, the 100A100A term contributes nothing modulo 44, so the entire number NN is congruent to LL, which we assumed to be 0(mod4)0 \pmod{4}:

N=100A+L0+0(mod4)N0(mod4)\begin{aligned} N = 100A + L &\equiv 0 + 0 \pmod{4} \\ N &\equiv 0 \pmod{4} \end{aligned}

Thus 4N4 \mid N.

Conclusion:

Since both directions are proven, we conclude:

N is divisible by 4    last two digits of N divisible by 4N \text{ is divisible by } 4 \iff \text{last two digits of } N \text{ divisible by } 4

Takeaways

  • Iff Proof Structure: Must prove both (    \implies) and (    \impliedby) directions independently
  • Digit Representation: Writing N=100A+LN = 100A + L separates last two digits for modular analysis
  • Key Observation: Since 1000(mod4)100 \equiv 0 \pmod{4}, divisibility of NN by 4 depends only on last two digits
  • Generalization: Same technique proves divisibility rules for powers of 2 (e.g., rule for 8 uses last three digits)

Further Readings

If you found this proof interesting, be sure to check out these relevant HSC booklets to sharpen your reasoning skills: HSC Proofs, HSC Vectors, HSC Mechanics

Written by Vu Hung Nguyen

Mathematics Educator · LinkedIn · About