T

Primes, Composites, Square and Triangular Numbers

Maths · Stage 3
Year 5
Lesson Guide
Explanation
A prime number has exactly two factors: one and itself. Seven can only be arranged as a single row of seven dots — there is no rectangle — so seven is prime. Twelve makes rectangles: two by six, three by four. It has six factors, so it is composite. Two is the only even prime, because every other even number has two as a factor. And one is neither prime nor composite: it has only one factor, itself, and the definition asks for two. That is why the list of primes starts at two.
Your Turn
Prime or composite: 15, 17, 21, 23? Check: 15 = 3 × 5 composite; 17 prime; 21 = 3 × 7 composite; 23 prime.
Watch Out
Odd does not mean prime. 9, 15, 21, 25, 27 are all odd and all composite.
Explanation
To test whether a number is prime, try dividing by the primes in order. Ninety-one: it is odd, so not two. Its digits add to ten, so not three. It does not end in zero or five, so not five. Seven? Seven times thirteen is ninety-one. So ninety-one is composite, and it catches people because seven times thirteen is outside the tables they know. Two rules make the test fast. Use the divisibility tests for two, three and five. And stop once the prime you are trying, multiplied by itself, is bigger than the number: for ninety-seven, after seven fails you can stop, because eleven times eleven is already one hundred and twenty-one.
Your Turn
Is 87 prime? Is 89? Check: 8 + 7 = 15, so 87 = 3 × 29, composite. 89: not 2, 3, 5 or 7, and 11 × 11 > 89 — prime.
Watch Out
Test with PRIMES only. If 2 fails, 4, 6 and 8 will fail too. If 3 fails, so will 9.
Explanation
A square number is a number of dots that makes a square: one, four, nine, sixteen, twenty-five. Each is a number multiplied by itself. Two things are worth knowing about them. The gaps between consecutive squares are the odd numbers — plus three, plus five, plus seven — which lets you extend the list without multiplying. And a square number has an odd number of factors, because one of its factor pairs is a number with itself: thirty-six is six times six, and that six counts once. Learn the squares up to twelve times twelve; questions that ask you to spot one give you no time to work it out.
Your Turn
What is the next square after 100, and the one after that? Check: 100 + 21 = 121, 121 + 23 = 144.
Watch Out
"Square number" does not mean "even number" or "number that ends in a square digit". 25 and 49 are squares; 20 and 40 are not.
Explanation
A triangular number is a number of dots that makes a staircase: one, three, six, ten, fifteen. Each is the previous one plus the next counting number — plus two, plus three, plus four. So the sixth triangular number is one plus two plus three plus four plus five plus six, twenty-one. They turn up as handshakes in a room, matches in a tournament, the pins in ten-pin bowling. The one to notice: thirty-six is both a square number, six times six, and a triangular number, one to eight added up. If a question asks for a number that is both, thirty-six is almost always it.
Your Turn
What are the 7th and 8th triangular numbers? Check: 21 + 7 = 28, then 28 + 8 = 36.
Watch Out
The 6th triangular number is 21, not 6 × something. It is the SUM of 1 to 6, not the product.
Explanation
Test questions combine these by asking you to list and then count or calculate. Between one and twenty there are eight primes, four square numbers and five triangular numbers. The sum of the first five primes is two plus three plus five plus seven plus eleven, twenty-eight. The product of the first three is two times three times five, thirty. The smallest prime greater than ninety takes a walk: ninety-one is seven times thirteen, ninety-three is three times thirty-one, and the first that survives every test is ninety-seven. Write the list first; every one of these is easy once the list is on the page. Quiz and exercises now.
Your Turn
How many primes are there between 40 and 50? Check: 41, 43, 47 — three.
Watch Out
The first prime is 2, not 1. "The first five primes" starts at 2. Starting at 1 gives every answer one prime short.
📌 Key Points — this lesson in a nutshell
  • A prime has exactly two factors: 1 and itself. A composite has more. 1 has only one factor, so it is neither.
  • To test a number, try dividing by the primes 2, 3, 5, 7 … and stop once the prime you are trying, times itself, is bigger than the number.
  • Square numbers are dots in a square: 1, 4, 9, 16, 25 … n × n.
  • Triangular numbers are dots in a staircase: 1, 3, 6, 10, 15, 21 … each adds the next counting number.
Step 1: Introduction
Step 1 of 5
7 and 12 as rectangles of dots 7: only 1 × 7. One row. prime 12: 1 × 12, 2 × 6, 3 × 4. composite Prime: exactly two factors, 1 and itself. Composite: three or more. 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 … 2 is the only even prime. 1 is neither: it has only ONE factor. 0 is neither either. A prime can only be drawn as a single line of dots. Anything that makes a rectangle is composite.
Is 91 prime? ÷ 2?91 is odd — no ÷ 3?9 + 1 = 10, not a multiple of 3 — no ÷ 5?does not end in 0 or 5 — no ÷ 7?7 × 13 = 91 — yes! 91 is composite. It looks prime because 7 × 13 is not in the times tables you chant. Test the primes in order: 2, 3, 5, 7, 11 … Stop when the prime times itself passes the number. For 97: 2, 3, 5, 7 all fail, and 11 × 11 = 121 > 97. So 97 is prime — no need to try 11. The primes under 100 that catch people: 51 = 3 × 17, 57 = 3 × 19, 87 = 3 × 29, 91 = 7 × 13.
1, 4, 9, 16, 25 — dots in a square 1 × 1 2 × 2 3 × 3 4 × 4 5 × 5 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144 — a number times itself. The gaps between them are the odd numbers: +3, +5, +7, +9 … A square number has an ODD number of factors, because one factor pairs with itself: 36 = 6 × 6. Know the squares to 12 × 12 = 144 by heart, and 15 × 15 = 225, 20 × 20 = 400 for good measure. "Which of these is a square number?" is a recognition question — you either know 25 is 5 × 5 or you do not.
1, 3, 6, 10, 15 — dots in a staircase 1 3 6 10 15 1, 3, 6, 10, 15, 21, 28, 36, 45, 55 — each one adds the next counting number. +2, +3, +4, +5 … The 6th triangular number is 1 + 2 + 3 + 4 + 5 + 6 = 21. Handshakes, matches in a round-robin, dots in a triangle of bowling pins — all triangular. 36 is both square (6 × 6) and triangular (1 + … + 8). The only other one under 1 000 is 1. To find the 10th: keep adding, or use 10 × 11 ÷ 2 = 55.
Between 1 and 20 primes:2, 3, 5, 7, 11, 13, 17, 19 — eight of them squares:1, 4, 9, 16 — four triangular:1, 3, 6, 10, 15 — five "The sum of the first five primes": 2 + 3 + 5 + 7 + 11 = 28. "The product of the first three primes": 2 × 3 × 5 = 30. "The smallest prime greater than 90": 91 ✗, 92 ✗, 93 ✗ (3 × 31), 94 ✗, 95 ✗, 96 ✗, 97 ✓. Write the list, then answer from the list. Quiz and exercises now.
Was this lesson helpful? Rate this Course
Discussion
Loading comments...