---
title: "Divisibility and the Division Algorithm"
description: "Fix what divides means, prove that division leaves a unique quotient and remainder, and use that uniqueness as the base of everything after it."
canonical: https://lightmysky.com/learn/mathematics/divisibility-and-the-division-algorithm-mt_UkQNs-6-40
source: https://lightmysky.com/learn/mathematics/divisibility-and-the-division-algorithm-mt_UkQNs-6-40.md
retrieved: 2026-09-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Divisibility and the Division Algorithm

Fix what divides means, prove that division leaves a unique quotient and remainder, and use that uniqueness as the base of everything after it.

Subject: Mathematics · Area: Number Theory · Ages 18 to 19
Page: https://lightmysky.com/learn/mathematics/divisibility-and-the-division-algorithm-mt_UkQNs-6-40

## Ready when they can

- Prove basic divisibility facts directly from the definition rather than by example
- State and prove the division algorithm, including the uniqueness of the remainder
- Use the remainder cases to prove a statement about all integers

## Lesson: One quotient, one remainder

To say a divides b means some integer c gives b = a times c, and proofs must start from that sentence rather than from examples. From this one definition flow the workhorse facts: divisibility passes through sums, through multiples, and through chains, so if a divides b and b divides c, then a divides c.

**Example.** The division algorithm promises that for any integer a and positive d, exactly one pair q and r satisfies a = d times q plus r with 0 <= r < d. Existence says a remainder can always be found, and uniqueness says only one qualifies. For example, 47 = 6 times 7 plus 5, and negative 16 = 26 times negative 1 plus 10, where the remainder is 10 rather than negative 6 because remainders cannot be negative.

**Tip.** The nonnegativity condition does the heavy lifting: it forces exactly one remainder to qualify and throws out lookalikes like negative 6. Every proof about remainders starts by invoking this pair, so learn its statement word perfect before using it.

**Example.** Remainder cases prove statements about all integers at once. Every integer is even or odd, so write n as 2k or 2k plus 1 and square. An even square is 4 times k squared, leaving remainder 0, and an odd square is 4 times k times k plus 1 plus 1, leaving remainder 1. Hence every integer squared leaves remainder 0 or 1 on division by 4.

**Recap.** Divisibility means a product exists, division leaves one legal remainder, and remainder cases settle claims about all integers.

## Practice

14 questions on this page, each with its working shown.

## Needs first

- [Proof by Induction and Strong Induction](https://lightmysky.com/learn/mathematics/proof-by-induction-and-strong-induction-mt_7lvC02JBOC)
- [Statements, Quantifiers and Negation](https://lightmysky.com/learn/mathematics/statements-quantifiers-and-negation-mt_S5NvyPxEZ_)

## Opens up

- [Euclid's Algorithm and Bezout's Identity](https://lightmysky.com/learn/mathematics/euclids-algorithm-and-bezouts-identity-mt_26hM0EnJpq)
- [The Distribution of Primes and What Is Still Open](https://lightmysky.com/learn/mathematics/the-distribution-of-primes-and-what-is-still-open-mt_PJwm9kuQWQ)
