See How Things Work

Square numbers

Unit
Special Whole Numbers
Part
1. Special Whole Numbers
Lesson
1.1

A square number is a number of dots that can be set out as a square: n rows of n dots. This lesson draws the square numbers as figures of dots, proves that the first n odd numbers always add up to n², shows which numbers are differences of two squares, and proves that a square leaves the remainder 0 or 1 when it is divided by 4.

Numbers as figures of dots

The early Pythagoreans, in ancient Greece, probably had no symbols for numbers and thought of them as pebbles or dots laid out in patterns.⁠[1] They sorted numbers by the shapes the dots make: triangular, square, pentagonal and so on.⁠[2] A number that can be shown as a regular arrangement of equally spaced points is called a figurate number,⁠[3] or a figurative or polygonal number.⁠[2] This unit studies several families of them, starting with the squares.

Definition (Square number).

For a whole number n ≥ 1, the nth square number is the number of dots in a square array of n rows with n dots in each row: 1, 4, 9, 16, ….⁠[4]

By Multiplication lesson 1.2, n rows of n dots hold n × n dots, so the nth square number is n², the square of n. For n = 0 the array has no rows and no dots, and 0² = 0; so 0 is counted among the square numbers too, as the zeroth. Square numbers are therefore exactly the perfect squares of “Perfect squares and square roots” under another name.⁠[5]

1491625
Figure. The first five square numbers, 1, 4, 9, 16 and 25, as squares of dots: 1, 2, 3, 4 and 5 rows of as many dots.⁠[4]

The lesson “Squares and cubes” counted the same numbers as unit tiles covering a square. Put a dot at the center of each tile and the tiles become the dots of this lesson, so the counts agree. Dots have one advantage: the layers in which a square grows are easy to see and to color.

Example (The twelfth square number).

How many dots are in the twelfth square number?

  1. The square has 12 rows of 12 dots.
  2. 12 × 12 = 10 × 12 + 2 × 12 = 120 + 24 = 144.

Answer: 144 = 12². Check by rows of 12: 12, 24, 36, 48, 60, 72, 84, 96, 108, 120, 132, 144.

Example (Fifty dots).

Can 50 dots be set out as a square?

  1. A square of 7 rows of 7 uses 7² = 49 dots, and 1 dot is left over.
  2. The next square, 8 rows of 8, needs 8² = 64 dots, more than 50.
  3. Squares grow with their side (lesson 1.6), so no square lies between 49 and 64.

Answer: no. 50 is not a square number: 49 < 50 < 64.

Odd numbers build squares

To grow an n × n square of dots into an (n + 1) × (n + 1) square, a new row and a new column are laid along two sides: an L-shaped layer of n + n + 1 dots, the gnomon of lesson 1.2. Starting from a single dot, the layers hold 1, 3, 5, 7, … dots: the odd numbers, which the Greeks called gnomons.⁠[6] Theon of Smyrna used the word for every number that is added in turn to build a triangle, a square or another polygon.⁠[7]

The odd numbers in order are 1, 3, 5, 7, …. By “Even and odd numbers” they are j × 2 + 1 for j = 0, 1, 2, …, so the first has j = 0 and the kth has j = k − 1: the kth odd number is (k − 1) × 2 + 1 = 2 × k − 1. The tenth odd number, for example, is 2 × 10 − 1 = 19.

Theorem (odd numbers make squares).

For every whole number n ≥ 1, 1 + 3 + 5 + ⋯ + (2 × n − 1) = n². In words: the sum of the first n odd numbers is the nth square number.⁠[8][9]

Proof.

Take an n × n square of dots and number its rows from the top and its columns from the left, 1 to n. For each k from 1 to n, let the kth layer be the dots of row k that lie in columns 1 to k, together with the dots of column k that lie in rows 1 to k. It is an L shape whose corner is the dot in row k and column k.

Every dot lies in exactly one layer: the dot in row r and column c lies in layer k, where k is the larger of r and c. The kth layer holds k dots in its row and k dots in its column, and the corner dot belongs to both, so it holds k + k − 1 = 2 × k − 1 dots, the kth odd number. Counting the n² dots layer by layer therefore gives 1 + 3 + 5 + ⋯ + (2 × n − 1) = n².

13579111 + 3 + 5 + 7 + 9 + 11= 6² = 36
Figure. A 6 × 6 square of dots cut into L-shaped layers, the gnomons. The gnomon of each color is one row and one column that share a corner dot: 1, 3, 5, 7, 9 and 11 dots, the first six odd numbers. Together they make 36 = 6² dots.⁠[8]

The same fact can be reached step by step. The Proposition “the next square” of lesson 1.2, with n = k − 1, says that k² = (k − 1)² + (k − 1) + (k − 1) + 1, and (k − 1) + (k − 1) + 1 = (k − 1) × 2 + 1 is the kth odd number. So adding the kth odd number to (k − 1)² gives k². Start from 0² = 0: adding 1 gives 1², adding 3 gives 2², adding 5 gives 3², and after the nth odd number the total is n². Writing down the n differences k² − (k − 1)² = 2k − 1 and adding them is how the Pythagoreans may have proved the Theorem.⁠[10]

Looking ahead.

A chain of steps, “true for 1, and true for each number once it is true for the one before”, is the method of mathematical induction, and formulas such as 1 + 3 + 5 + ⋯ + (2n − 1) = n² are standard exercises in it.⁠[11] Induction is the subject of the unit Mathematical Induction. The cutting proof above does not need it: it counts one picture in two ways.

Historical note.

Heath writes that the building of squares from odd numbers was known to Pythagoras himself;⁠[9] Burton is more careful, and says that Pythagoras knew at least the triangular numbers and very probably the square numbers.⁠[12] The lesson “Pythagoras and his followers” tells what is known of them.

Example (The first five odd numbers).

Find 1 + 3 + 5 + 7 + 9.

  1. The last term is 9 = 2 × 5 − 1, the fifth odd number, so the sum has 5 terms.
  2. By the Theorem, the sum is 5² = 25.

Answer: 25. Check by adding: 1, then 1 + 3 = 4, 4 + 5 = 9, 9 + 7 = 16, 16 + 9 = 25. Every running total is a square.

Example (A long sum).

Find 1 + 3 + 5 + ⋯ + 99.

  1. 99 = 2 × 50 − 1, so 99 is the fiftieth odd number and the sum has 50 terms.
  2. By the Theorem, the sum is 50² = 2,500.

Answer: 2,500. Check another way: pair the first term with the last, 1 + 99 = 100, the second with the one before last, 3 + 97 = 100, and so on. The 50 terms make 25 pairs of 100, and 25 × 100 = 2,500.

Example (The edge case: one term).

What does the Theorem say for n = 1?

  1. The first odd number is 2 × 1 − 1 = 1, so the sum has the single term 1.
  2. 1 = 1²: a single dot is a 1 × 1 square, the first gnomon on its own.

Answer: 1 = 1². The Theorem holds for n = 1 too; there is nothing to add.

Example (A common mistake: squaring the last term).

Someone writes 1 + 3 + 5 + ⋯ + 19 = 19² = 361. Find the mistake.

  1. The side of the square is the number of terms, not the last term. 19 = 2 × 10 − 1 is the tenth odd number, so there are 10 terms.
  2. The sum is 10² = 100.
  3. 361 cannot be right: 10 terms, none larger than 19, add up to at most 10 × 19 = 190.

Answer: 1 + 3 + 5 + ⋯ + 19 = 100.

Example (Odd numbers that do not start at 1).

Find 11 + 13 + 15 + 17 + 19.

  1. Complete the sum from 1: 1 + 3 + ⋯ + 19 = 10² = 100, since 19 is the tenth odd number.
  2. The terms added in completing it are 1 + 3 + 5 + 7 + 9 = 5² = 25.
  3. So 11 + 13 + 15 + 17 + 19 = 100 − 25 = 75.

Answer: 75 = 10² − 5². Check by adding: 11 + 13 = 24, 24 + 15 = 39, 39 + 17 = 56, 56 + 19 = 75.

Game

Odd numbers make a square

Round
1
Score
0
Streak
0

Find the sum 1 + 3 + 5 + ⋯ + 11. Lay the odd numbers one at a time as L-shaped layers of dots, then choose the sum.

No odd numbers laid yet.

Differences of two squares

The last example ended with a difference of two squares, 10² − 5². In a dot picture, m² − n² is what is left of an m × m square when an n × n corner is taken away, and an expression of this form is called a difference of squares.⁠[13]

Proposition (difference of two squares).

For all whole numbers m ≥ n, m² − n² = (m − n) × (m + n).

Proof.

Let d = m − n, so that m = n + d. By the square of a sum (lesson 1.5), m² = (n + d)² = n² + 2 × n × d + d². By the distributive property, 2 × n × d + d² = d × (2 × n) + d × d = d × (2 × n + d), and 2 × n + d = n + (n + d) = n + m. So m² = n² + d × (m + n). By “Subtraction as the inverse of addition”, this says m² − n² = d × (m + n) = (m − n) × (m + n).

7² − 3²→4 × 10 = 40
Figure. Left: 7² − 3² is what remains of a 7 × 7 square when a 3 × 3 corner (open circles) is taken away, an L-shape of two strips: 4 rows of 7 below (violet) and 3 rows of 4 beside the corner (amber). Right: the amber strip, turned, fits beside the violet one, and together they make 4 rows of 7 + 3 = 10 dots. So 7² − 3² = 4 × 10 = 40.

The figure shows the same proof in dots: the L-shaped rest of the square is cut into two strips, and the strips fit together into a rectangle m − n rows high and m + n dots long.

Theorem (which numbers are differences of two squares).

A whole number N can be written as m² − n² with whole numbers m ≥ n exactly when N is odd or a multiple of 4. The numbers that leave the remainder 2 when divided by 4 (2, 6, 10, 14, …) are never differences of two squares.⁠[14]

Proof.

Odd numbers. If N = 2 × k + 1, then by the Proposition (k + 1)² − k² = 1 × (2 × k + 1) = N: an odd number is the difference of two neighboring squares.

Multiples of 4. If N = 4 × k with k ≥ 1, then (k + 1)² − (k − 1)² = 2 × (2 × k) = 4 × k = N; and 0 = 0² − 0².

No others. Suppose N = m² − n² = (m − n) × (m + n). By the parity of a difference (“Even and odd numbers”), m − n has the same parity as m + n. If both are odd, their product N is odd. If both are even, say m − n = 2 × a and m + n = 2 × b, then N = 4 × (a × b), a multiple of 4. A number 4 × q + 2 is neither: it is even, and by the division algorithm its remainder on division by 4 is 2, not 0.

By the division algorithm every whole number has one of the forms 4 × q, 4 × q + 1, 4 × q + 2 or 4 × q + 3, and the odd ones are 4 × q + 1 and 4 × q + 3. So the Theorem says that the only whole numbers missing among the differences of two squares are those of the form 4 × q + 2: every other kind always occurs.

Example (Two ways to write 15).

Write 15 as a difference of two squares in two ways.

  1. 15 = 2 × 7 + 1 is odd, so it is a difference of neighboring squares: 8² − 7² = 64 − 49 = 15.
  2. The Proposition also allows m − n = 3 and m + n = 5, since 3 × 5 = 15. Then m = 4 and n = 1 (4 − 1 = 3 and 4 + 1 = 5): 4² − 1² = 16 − 1 = 15.

Answer: 15 = 8² − 7² = 4² − 1².

Example (A multiple of 4).

Write 24 as a difference of two squares.

  1. 24 = 4 × 6, so by the proof, 24 = 7² − 5² = 49 − 25.
  2. Another choice: m − n = 4 and m + n = 6 give m = 5 and n = 1, and 5² − 1² = 25 − 1 = 24.

Answer: 24 = 7² − 5² = 5² − 1².

Example (An impossible case).

Can 30 be written as a difference of two squares?

  1. 30 = 4 × 7 + 2 leaves the remainder 2 when divided by 4. By the Theorem, it cannot.
  2. Directly: m − n and m + n would be a factor pair of 30 with both factors odd or both even. The factor pairs are 1 × 30, 2 × 15, 3 × 10 and 5 × 6, and each has one odd and one even factor.

Answer: no. 30 is not a difference of two squares of whole numbers.

Example (Factoring with a difference of squares).

Factor 437.

  1. 437 is close to 441 = 21², and 441 − 437 = 4 = 2². So 437 = 21² − 2².
  2. By the Proposition, 437 = (21 − 2) × (21 + 2) = 19 × 23.

Answer: 437 = 19 × 23, and both factors are prime (“Prime factorization”). Check: 19 × 23 = 380 + 57 = 437.

Historical note.

Pierre de Fermat described, in a letter, a method of factoring large numbers built on this idea:⁠[15] once a number is written as a difference of two squares, it splits into two factors.⁠[16][17] His method looks for the squares above the number one after another, until one exceeds the number by a square, as 441 exceeds 437.

Game

A difference of two squares

Round
1
Score
0
Streak
0

Which pair of squares differs by 3? Try pairs on the picture: an m × m square of dots with an n × n corner taken away.

m = 6
n = 2

6² − 2² = 36 − 4 = 32 dots = (6 − 2) × (6 + 2) = 4 × 8

Squares and remainders

Lesson 1.6 proved that a square always ends in 0, 1, 4, 5, 6 or 9.⁠[18] Division by 4 gives a second test, which catches numbers that the last digit lets through.

Theorem (squares and division by 4).

The square of an even number is a multiple of 4, and the square of an odd number is 1 more than a multiple of 4. So every square number leaves the remainder 0 or 1 when divided by 4, never 2 or 3.⁠[19]

Proof.

An even number is 2 × k for a whole number k, and by the power of a product (lesson 1.5) its square is (2 × k)² = 2² × k² = 4 × k². An odd number is 2 × k + 1, and by the square of a sum, (2 × k + 1)² = (2 × k)² + 2 × (2 × k) × 1 + 1² = 4 × k² + 4 × k + 1 = 4 × (k² + k) + 1.

The remainder on division by 4 can be read from the last two digits. Write N = H × 100 + s, where s is the number named by the last two digits. Since 100 = 25 × 4, the part H × 100 is a multiple of 4, so N and s leave the same remainder; this is the reasoning of the test for 4 in “Divisibility rules and why they work”.

Example (A number the last digit cannot rule out).

Is 1,000,006 a square number?

  1. It ends in 6, and some squares end in 6 (16, 36), so the last digit does not decide.
  2. Its last two digits name 6 = 4 × 1 + 2: it leaves the remainder 2 on division by 4.
  3. By the Theorem, no square leaves the remainder 2.

Answer: no. Check: 1,000² = 1,000,000 and 1,001² = 1,002,001, and 1,000,006 lies between them.

Example (The remainder 3).

Is 2,035 a square number?

  1. It ends in 5, which squares can end in.
  2. 35 = 4 × 8 + 3, so 2,035 leaves the remainder 3 on division by 4. Squares never do.

Answer: no. Check: 45² = 2,025 and 46² = 2,116.

Example (Two odd squares never add up to a square).

Show that 3² + 5², 5² + 7² and, in general, the sum of the squares of two odd numbers are never square numbers.

  1. Each odd square is 1 more than a multiple of 4, so the sum of two of them is 2 more than a multiple of 4.
  2. No square leaves the remainder 2. For example, 3² + 5² = 9 + 25 = 34 = 4 × 8 + 2 and 5² + 7² = 25 + 49 = 74 = 4 × 18 + 2.

Answer: never a square. With one even number it can happen: 3² + 4² = 9 + 16 = 25 = 5².

Example (A common mistake: using the test backward).

4,321 leaves the remainder 1 when divided by 4. Someone concludes that it is a square. Is that right?

  1. 21 = 4 × 5 + 1, so 4,321 does leave the remainder 1. The Theorem allows it, but does not promise it.
  2. 65² = 4,225 and 66² = 4,356, and 4,225 < 4,321 < 4,356, so 4,321 lies strictly between two neighboring squares.

Answer: 4,321 is not a square. The remainder 0 or 1 is necessary for a square but not enough; a remainder 2 or 3 is enough to rule one out.

Looking ahead.

More is true: the square of an odd number is 1 more than a multiple of 8, as 9 = 8 + 1, 25 = 3 × 8 + 1 and 49 = 6 × 8 + 1.⁠[20][21] Lesson 1.2, “Triangular numbers”, proves it with triangles of dots. The remainders that squares can leave on division by any number are studied in the units Congruences and Quadratic Residues.

Looking ahead.

Sums of squares lead further. 3² + 4² = 5²: the right triangle with sides 3, 4 and 5 is the best-known example of a Pythagorean triple,⁠[22] and Pythagorean triples and sums of two squares are studied in the unit Diophantine Equations. The sum 1² + 2² + 3² + ⋯ + n² of the first n squares also has a formula, which takes more work to find than the sum of the odd numbers;⁠[23] it is proved in the unit Mathematical Induction, lesson “Sums of powers”.

Exercises

Exercise .

Find 1 + 3 + 5 + ⋯ + 29.

▸ Show solution

29 = 2 × 15 − 1 is the fifteenth odd number, so the sum has 15 terms and equals 15² = 225.

Exercise .

The gnomon 37 is laid around a square of dots. Which square was it, and which square does it make? What is 1 + 3 + ⋯ + 37?

▸ Show solution

37 = 2 × 19 − 1 is the nineteenth odd number. Adding it as a gnomon turns the 18 × 18 square into the 19 × 19 square: 18² + 37 = 324 + 37 = 361 = 19². So 1 + 3 + ⋯ + 37 = 361.

Exercise .

Find 21 + 23 + 25 + ⋯ + 39.

▸ Show solution

1 + 3 + ⋯ + 39 = 20² = 400, since 39 is the twentieth odd number, and 1 + 3 + ⋯ + 19 = 10² = 100. The terms from 21 to 39 are what is left: 400 − 100 = 300.

Check: by the Proposition, 20² − 10² = (20 − 10) × (20 + 10) = 10 × 30 = 300; and the sum has 10 terms, which pair up as 21 + 39 = 23 + 37 = ⋯ = 29 + 31 = 60, five pairs of 60.

Exercise .

Write 45 as a difference of two squares in every possible way.

▸ Show solution

If 45 = m² − n² = (m − n) × (m + n), then m − n and m + n are a factor pair of 45 with m − n ≤ m + n. The pairs are 1 × 45, 3 × 15 and 5 × 9, all odd. From m − n = a and m + n = b, adding gives 2 × m = a + b, so m = (a + b) ÷ 2 and n = b − m.

  1. 1 and 45: m = 23, n = 22; 23² − 22² = 529 − 484 = 45.
  2. 3 and 15: m = 9, n = 6; 81 − 36 = 45.
  3. 5 and 9: m = 7, n = 2; 49 − 4 = 45.

So 45 = 23² − 22² = 9² − 6² = 7² − 2², and there are no other ways.

Exercise .

Show that 2,026 is neither a square number nor a difference of two squares.

▸ Show solution

Its last two digits name 26 = 4 × 6 + 2, so 2,026 leaves the remainder 2 on division by 4. No square leaves the remainder 2, so 2,026 is not a square (indeed 45² = 2,025 and 46² = 2,116); and no difference of two squares leaves it either, so 2,026 is not m² − n² for any whole numbers m and n.

Exercise .

Prove the Theorem “odd numbers make squares” a third way: write the sum forward and backward, and add the two rows term by term.

▸ Show solution

Write S = 1 + 3 + 5 + ⋯ + (2n − 1) twice, once forward and once backward, one under the other. The kth term from the front is 2 × k − 1, and the kth term from the back is the (n − k + 1)th odd number, 2 × (n − k + 1) − 1 = 2 × n − 2 × k + 1. Each column adds up to (2 × k − 1) + (2 × n − 2 × k + 1) = 2 × n.

There are n columns, so S + S = n × (2 × n) = 2 × n². Hence S = n². This is the same device as two copies of a staircase of dots set together into a rectangle.⁠[24]

Exercise .

Prove that for every whole number k ≥ 1, (2 × k − 1) × (2 × k + 1) + 1 is a square number. Check it for k = 4 and k = 10.

▸ Show solution

By the Proposition, (2 × k)² − 1² = (2 × k − 1) × (2 × k + 1). So (2 × k − 1) × (2 × k + 1) + 1 = (2 × k)²: the product of two odd numbers that differ by 2, plus 1, is the square of the even number between them.

For k = 4: 7 × 9 + 1 = 63 + 1 = 64 = 8². For k = 10: 19 × 21 + 1 = 399 + 1 = 400 = 20².

Summary

  1. The nth square number n² is the number of dots in a square of n rows of n dots; square numbers are the perfect squares.
  2. A square grows by L-shaped gnomons of 1, 3, 5, 7, … dots, so the sum of the first n odd numbers is n².
  3. m² − n² = (m − n) × (m + n): the L-shaped rest of a square rearranges into a rectangle.
  4. A whole number is a difference of two squares exactly when it is odd or a multiple of 4.
  5. Every square leaves the remainder 0 or 1 on division by 4; a remainder 2 or 3 rules a number out.

Sources

  1. 1.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 3, “The Beginnings of Greek Mathematics”, section 3.2, “Pythagorean Mathematics”, “Nicomachus’s Introductio Arithmeticae”, p. 95 (the whole topic: pp. 94–97).
    “It is unlikely that the early Pythagoreans had any number symbols, so they must have thought of numbers in a strictly visual way, either as pebbles placed in the sand or as dots in certain geometric patterns.”
    Used for: the early Pythagoreans probably had no symbols for numbers and thought of them as pebbles or dots in patterns.
  2. 2.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 3, “The Beginnings of Greek Mathematics”, section 3.2, “Pythagorean Mathematics”, “Nicomachus’s Introductio Arithmeticae”, p. 95 (the whole topic: pp. 94–97).
    “Numbers that can be represented in geometric form are nowadays called figurative, or polygonal, numbers; and such were considered by Nicomachus in the Introductio.”
    Used for: numbers sorted by the shapes of their dots (“classified as triangular, square, pentagonal, and so on”, the sentence before); such numbers are also called figurative or polygonal numbers.
  3. 3.
    Eric W. Weisstein, “Figurate Number”, MathWorld—A Wolfram Resource.
    “is a number that can be represented by a regular geometrical arrangement of equally spaced points”
    Used for: the definition of a figurate number.
  4. 4.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 3, “The Beginnings of Greek Mathematics”, section 3.2, “Pythagorean Mathematics”, “Nicomachus’s Introductio Arithmeticae”, p. 95 (the whole topic: pp. 94–97).
    “Similarly, the numbers 1, 4, 9, and 16 are said to be square numbers, because as dots they can be depicted as squares.”
    Used for: the definition of the square numbers 1, 4, 9, 16, … as numbers of dots that can be set out as squares (text and figure).
  5. 5.
    Eric W. Weisstein, “Square Number”, MathWorld—A Wolfram Resource.
    “A square number, also called a perfect square, is a figurate number of the form”
    Used for: square numbers are the perfect squares under another name (MathWorld’s list begins 0, 1, 4, 9, 16, …).
  6. 6.
    Thomas L. Heath, A History of Greek Mathematics, Vol. I: From Thales to Euclid (Clarendon Press, Oxford, 1921).
    Chapter III, “Pythagorean Arithmetic”, section “Figured numbers”, “(β) Square numbers and gnomons”, p. 77 (the whole topic: pp. 76–79).
    “The odd numbers successively added were called gnomons”
    Used for: the odd numbers added in turn to build squares were called gnomons.
  7. 7.
    Thomas L. Heath, A History of Greek Mathematics, Vol. I: From Thales to Euclid (Clarendon Press, Oxford, 1921).
    Chapter III, “Pythagorean Arithmetic”, section “Figured numbers”, “(δ) Gnomons of the polygonal numbers”, p. 79 (the whole topic: pp. 79).
    “All the successive numbers which [by being successively added] produce triangles or squares or polygons are called gnomons.”
    Used for: Theon of Smyrna’s use of the word gnomon for every number added in turn to build a triangle, a square or another polygon.
  8. 8.
    John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).
    Chapter 2, “Figures from Figures: Doing Arithmetic and Algebra by Geometry”, section “Square Numbers”, p. 33 (the whole topic: pp. 30–36).
    “The gnomons of Figure 2.12 fit together to show that the sum of the first n odd numbers is the nth square”
    Used for: the Theorem: the sum of the first n odd numbers is the nth square number, shown by gnomons fitted together (text and figure).
  9. 9.
    Thomas L. Heath, A History of Greek Mathematics, Vol. I: From Thales to Euclid (Clarendon Press, Oxford, 1921).
    Chapter III, “Pythagorean Arithmetic”, section “Figured numbers”, “(β) Square numbers and gnomons”, p. 77 (the whole topic: pp. 76–79).
    “All this was known to Pythagoras.”
    Used for: the Theorem as Greek knowledge (Heath’s sentence before: the sum of successive odd numbers starting from 1 is a square), and Heath’s judgment that it was known to Pythagoras.
  10. 10.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 3, “The Beginnings of Greek Mathematics”, section 3.2, “Pythagorean Mathematics”, “Nicomachus’s Introductio Arithmeticae”, p. 97 (the whole topic: pp. 96–97).
    “The Pythagoreans may have proved this result by first considering the n equations”
    Used for: writing down the differences k² − (k − 1)² = 2k − 1 and adding them as the way the Pythagoreans may have proved the Theorem.
  11. 11.
    David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).
    Chapter 1, “Preliminaries”, section 1.1, “Mathematical Induction”, Problems 1.1, problem 1, p. 6 (the whole topic: pp. 1–7).
    “Establish the formulas below by mathematical induction”
    Used for: formulas such as 1 + 3 + 5 + ⋯ + (2n − 1) = n² as standard exercises in mathematical induction (the problem’s part (b)).
  12. 12.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 3, “The Beginnings of Greek Mathematics”, section 3.2, “Pythagorean Mathematics”, “Nicomachus’s Introductio Arithmeticae”, p. 95 (the whole topic: pp. 94–97).
    “Pythagoras himself was acquainted at least with the triangular numbers, and very probably with square numbers”
    Used for: Burton’s more careful judgment: Pythagoras knew at least the triangular numbers and very probably the square numbers.
  13. 13.
    Eric W. Weisstein, “Difference of Squares”, MathWorld—A Wolfram Resource.
    “A difference of squares is an expression of the form”
    Used for: the name “difference of squares” for an expression m² − n².
  14. 14.
    Eric W. Weisstein, “Difference of Squares”, MathWorld—A Wolfram Resource.
    “is a product of two integers having the same parity”
    Used for: the Theorem on which numbers are differences of two squares: m² − n² is a product of two numbers of the same parity, and conversely odd numbers and multiples of 4 are differences of two squares (the next sentence).
  15. 15.
    David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).
    Chapter 5, “Fermat’s Theorem”, section 5.4, “The Fermat-Kraitchik Factorization Method”, p. 97 (the whole topic: pp. 97–99).
    “Fermat described a technique of his for factoring large numbers”
    Used for: Fermat described, in a letter, a method of factoring large numbers (“In a fragment of a letter”, the same sentence).
  16. 16.
    David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).
    Chapter 5, “Fermat’s Theorem”, section 5.4, “The Fermat-Kraitchik Factorization Method”, p. 98 (the whole topic: pp. 97–99).
    “If n is the difference of two squares, then it is apparent that n can be factored as”
    Used for: a number written as a difference of two squares splits into two factors; Fermat’s method searches the squares above the number one after another (pp. 98–99).
  17. 17.
    Eric W. Weisstein, “Fermat’s Factorization Method”, MathWorld—A Wolfram Resource.
    “Fermat's factorization methods look for integers”
    Used for: Fermat’s factorization method looks for two squares whose difference is the number (second source).
  18. 18.
    David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).
    Chapter 5, “Fermat’s Theorem”, section 5.4, “The Fermat-Kraitchik Factorization Method”, p. 99 (the whole topic: pp. 97–99).
    “We know, for instance, that a square must end in one of the six digits 0, 1, 4, 5, 6, 9”
    Used for: a square always ends in 0, 1, 4, 5, 6 or 9 (proved in Powers & Square Roots, lesson 1.6).
  19. 19.
    David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).
    Chapter 2, “Divisibility Theory in the Integers”, section 2.2, “The Division Algorithm”, p. 18 (the whole topic: pp. 17–19).
    “The point to be made is that the square of an integer leaves the remainder 0 or 1 upon division by 4.”
    Used for: the Theorem: every square leaves the remainder 0 or 1 on division by 4, the square of an even number being a multiple of 4 and that of an odd number 1 more than a multiple of 4 (the sentence before).
  20. 20.
    David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).
    Chapter 2, “Divisibility Theory in the Integers”, section 2.2, “The Division Algorithm”, p. 18 (the whole topic: pp. 17–19).
    “the square of any odd integer is of the form 8k + 1”
    Used for: the square of an odd number is 1 more than a multiple of 8.
  21. 21.
    John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).
    Chapter 2, “Figures from Figures: Doing Arithmetic and Algebra by Geometry”, section “Square Numbers”, p. 32 (the whole topic: pp. 30–33).
    “The odd squares are congruent to 1 modulo 8.”
    Used for: the square of an odd number is 1 more than a multiple of 8 (second source; “congruent to 1 modulo 8” means leaving the remainder 1 on division by 8).
  22. 22.
    Eric W. Weisstein, “Pythagorean Triple”, MathWorld—A Wolfram Resource.
    “The right triangle having these side lengths is sometimes called the 3, 4, 5 triangle.”
    Used for: the triangle with sides 3, 4 and 5 as the best-known Pythagorean triple (“The smallest and best-known Pythagorean triple”, the sentence before).
  23. 23.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 3, “The Beginnings of Greek Mathematics”, section 3.2, “Pythagorean Mathematics”, “The Theory of Figurative Numbers”, p. 99 (the whole topic: pp. 97–100).
    “Finding a formula for the sum of the squares of the first n numbers takes a bit more effort.”
    Used for: the sum of the first n squares has a formula that takes more work to find.
  24. 24.
    John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).
    Chapter 2, “Figures from Figures: Doing Arithmetic and Algebra by Geometry”, section “Triangular Numbers”, p. 34 (the whole topic: pp. 33–35).
    “Alternatively, we could have used the same device as in Figure 2.15 to show this (Figure 2.16).”
    Used for: proving the sum of the odd numbers by setting two copies together into a rectangle, the device used for the triangular numbers (Exercise 6).