Professional Divisibility Rules Calculator

Divisibility Rules Calculator

Enter any integer to quickly check its divisibility by numbers 2 through 13 and understand the underlying mathematical tests.

Report copied to clipboard!

Common Divisibility Rules

Quick Reference Guide

Divisibility rules are shortcuts that allow you to determine if a large number is divisible by a smaller one without performing full long division.

  • By 3: The sum of all digits is divisible by 3.
  • By 4: The last two digits of the number are divisible by 4.
  • By 6: The number is divisible by both 2 and 3.
  • By 9: The sum of all digits is divisible by 9.

Advanced Logic

Rules for 7 and 13

Some rules are more complex and involve iterative steps:

  • By 7: Double the last digit and subtract it from the rest of the number. If the result is divisible by 7 (or 0), the original number is too.
  • By 11: Subtract the last digit from the rest of the number. If the result is divisible by 11, the original is too. (Or use the alternating sum method).

* Note: This tool provides automated testing for these conditions using high-precision calculations.

The Arithmetic of Factors: Understanding Divisibility

In number theory, divisibility is the foundation of integer arithmetic. A number is “divisible” by another if the result of the division is a whole number with a remainder of zero. While calculators have made division trivial, understanding the underlying Divisibility Rules is essential for mental math, simplifying fractions, and algebraic factoring.

This calculator acts as an automated number theory engine. It processes an integer (the dividend) against the fundamental divisors (2 through 13) and provides an instant “Yes/No” analysis based on mathematical axioms. It is designed to aid students in verifying their work and understanding the patterns hidden within numbers.

The Standard Rules (2 through 10)

These are the most common rules used in everyday mathematics.

  • Rule of 2: A number is divisible by 2 if its last digit is even ($0, 2, 4, 6, 8$).
    • Logic: All multiples of 10 are divisible by 2, so we only need to check the “ones” place.
  • Rule of 3: A number is divisible by 3 if the sum of its digits is divisible by 3.
    • Example: $123 \rightarrow 1+2+3 = 6$. Since 6 is divisible by 3, 123 is also divisible by 3.
  • Rule of 4: A number is divisible by 4 if the number formed by its last two digits is divisible by 4.
    • Logic: 100 is divisible by 4, so any multiple of 100 is also divisible. We only need to check the remainder (the last two digits).
  • Rule of 5: A number is divisible by 5 if it ends in 0 or 5.
  • Rule of 6: A number is divisible by 6 if it satisfies the rules for both 2 and 3 (it is even and the sum of digits is divisible by 3).
  • Rule of 9: Similar to the rule of 3, a number is divisible by 9 if the sum of its digits is divisible by 9.
  • Rule of 10: A number is divisible by 10 if it ends in 0.

The Complex Rules (7, 11, 13)

These prime numbers have rules that are iterative (you perform an operation to shrink the number) rather than simple visual checks.

Rule of 7

Take the last digit, double it, and subtract it from the rest of the number. If the result is divisible by 7 (or 0), the original number is divisible by 7.

  • Example: $343$
  • Last digit = $3$. Double it = $6$.
  • Rest of number = $34$.
  • $34 – 6 = 28$.
  • Since 28 is divisible by 7, 343 is divisible by 7.

Rule of 11

Sum the digits in the odd positions (1st, 3rd, 5th…) and the digits in the even positions (2nd, 4th…). Subtract the smaller sum from the larger sum. If the difference is divisible by 11 (or 0), the original number is divisible by 11.

  • Example: $1,331$
  • Odd positions: $1 + 3 = 4$.
  • Even positions: $3 + 1 = 4$.
  • Difference: $4 – 4 = 0$.
  • 1331 is divisible by 11.

Rule of 13

Take the last digit, multiply it by 4, and add it to the rest of the number. If the result is divisible by 13, the original number is too.

  • Example: $169$
  • Last digit = $9$. Multiply by 4 = $36$.
  • Rest of number = $16$.
  • $16 + 36 = 52$.
  • $52 = 13 \times 4$. Therefore, 169 is divisible by 13.

Practical Applications

1. Simplifying Fractions

If you have the fraction $\frac{525}{1000}$, you can instantly see both end in 0 or 5.

  • Divide by 5 $\rightarrow \frac{105}{200}$.
  • Divide by 5 again $\rightarrow \frac{21}{40}$.
  • Sum of digits for 21 is $3$ (divisible by 3). Sum of digits for 40 is $4$ (not divisible by 3). The fraction is fully simplified.

2. Prime Factorization

To find the prime factors of a large number (e.g., for cryptography or finding the Least Common Multiple), you start by testing divisibility by small primes (2, 3, 5, 7) to break the number down into smaller chunks.

3. Cryptography

RSA encryption relies on the difficulty of factoring the product of two large prime numbers. While divisibility rules work for small numbers, computers use complex algorithms (like the General Number Field Sieve) to test divisibility for massive integers.

Frequently Asked Questions (FAQ)

Q: Is 0 divisible by anything?

A: 0 is divisible by every non-zero integer. The result is always 0 (e.g., $0 \div 5 = 0$).

Q: Why doesn’t the calculator test for 1?

A: Every integer is divisible by 1. It is a trivial truth in mathematics (the Identity Property), so testing for it provides no distinguishing information.

Q: Do these rules work for decimals?

A: No. Divisibility is a property of integers (whole numbers). Asking if “12.5 is divisible by 2” is a category error in number theory, although you can physically divide 12.5 by 2 to get 6.25.

Scientific Reference and Citation

For the formal definitions and proofs of modular arithmetic:

Source: Hardy, G. H., & Wright, E. M. (2008). “An Introduction to the Theory of Numbers, 6th Edition.” Oxford University Press.

Relevance: This is the definitive text on number theory. It provides the rigorous proofs for congruences and the properties of residues that form the mathematical basis for all divisibility tests.

Scroll to Top