T TestsWorld
Lesson 9 of 11 Baudhāyana triples and Fermat ⏱ 5 min

New triples from odd squares

🤔
Think first
Stack 1, 3, 5, 7, 9 marbles in L-shapes. Why do you always get a perfect square?
🎯 In this lesson you'll learn
  • ✓Use sums of odd numbers to make squares
  • ✓Generate new triples from odd squares

Add odd numbers: 1 = 1², 1 + 3 = 2², 1 + 3 + 5 = 3². The sum of the first n odd numbers is n², and the nth odd number is 2n − 1.

The first n − 1 odd numbers add to (n − 1)², so

📌

(n − 1)² + (2n − 1) = n²

(You can also get this by expanding (n − 1)² and adding 2n − 1.) Now, if the odd number 2n − 1 is itself a square, this is a square plus a square making a square!

✏️

Example 1: 9 = 3² is the 5th odd number (2 × 5 − 1). With n = 5: 4² + 3² = 5², the triple (3, 4, 5).

✏️

Example 2: 25 = 5² is the 13th odd number. With n = 13: 12² + 5² = 13², the triple (5, 12, 13).

Your turn: 49 = 7² is the 25th odd number, giving (7, 24, 25); 81 = 9² is the 41st, giving (9, 40, 41).

In every triple made this way, the longest side is one more than another side. So not every primitive triple comes from this method: (8, 15, 17) does not.

4² = 16 squares9 = 3² squares (L)16 + 9 = 25 = 5²(n − 1)² + (2n − 1) = n²n = 5 gives (3, 4, 5)

Tap the diagram to enlarge it

A 4 × 4 square plus an L of 9 = 3² cells makes a 5 × 5 square: the triple (3, 4, 5).
📌 Remember these
  1. 1 + 3 + … + (2n − 1) = n²
  2. (n − 1)² + (2n − 1) = n²
  3. Odd square 2n − 1 gives a triple
✅ Quick check
← →