PrepShorts · Study sheet · Class 6 Mathematics · Chapter 5, Prime TimePrepShorts

Chapter 5 · Prime Time

Prime and composite: the rectangle test for a number's factors

यह वीडियो हिंदी में भी · Watch in Hindi

Primes11 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

11 min.

Also recorded in Hindi.Englishहिन्दी

Twelve figs pack into three different rectangles. Seven pack into one. That difference has a name.

The idea

Every rectangle you can pack a number into hands you a factor pair, so the layouts and the factor list are two views of one thing: twelve's three printed layouts carry 1 and 12, 2 and 6, 3 and 4 — the whole factor list, arrived at without dividing once. What the two views do not share is a count. One layout answers to two factors, so three layouts answer to six and a prime's single layout answers to exactly two; only a square layout breaks the doubling, because its two sides are the same factor. That is what makes "prime" something you can see rather than memorise: a prime is a number with no interesting rectangle, only the single line. It also settles the question children always ask about 1 without any special pleading — 1's one layout is a single square cell, so its pair collapses and it has one factor. The classification is by how many factors a number has — two, or more than two — and 1 has one. It is not excluded by decree; it simply never enters either bucket.

What you should be able to do

  • Build every rectangular arrangement of a given number of objects, and read a factor pair off each one
  • State the classification the book uses: exactly two factors, or more than two
  • Name the first several primes and the first several composites without a table
  • Explain why 1 falls into neither class, using the factor count rather than a rule
  • Explain why 2 is the only even prime
  • Decide whether a given two-digit number is prime, and show the factor that settles it when it is not
  • Judge true-or-false claims about primes and composites and produce a counterexample when one is false
  • Recognise a number that is a product of three different primes

Words to know

TermDefinition in one lineFirst introduced
prime numbera number with exactly two factors, 1 and itselfprinted and defined in §5.2, p.112
composite numbera number with more than two factorsprinted and defined in §5.2, p.112
factora number that divides another exactlyprinted in §5.1, p.109
twin primestwo primes differing by 2printed and defined in §5.2, p.114
prime factorisationa number rewritten as a product of primesprinted in §5.4, p.118 — named later in this chapter
rectangular arrangementa layout of objects in equal rows and equal columnsprinted in §5.2, p.112
even numbera number with 2 among its factorsprinted in §5.2, p.114

Where people slip up

  • "A prime is a number that cannot be divided." Every number can be divided by 1 and by itself. A prime is a number with no other divisors, and the book makes this a count — exactly two — rather than a prohibition.
  • "1 is prime, because you can only make one rectangle from it." You can, and that rectangle is one cell. But primality here is counted in factors, and 1 has one factor, not two. A prime's single layout is a strip whose two sides are different numbers, so it yields two factors; 1's single layout is square, so its two sides are the same number and it yields one. Counting layouts cannot tell those apart — the factor count decides.
  • "Odd means prime." 9, 15, 21 and 25 are odd and composite; the book's own composite list starts 4, 6, 8, 9. Meanwhile 2 is even and prime.
  • "Big numbers are more likely to be prime, because they have more room." The opposite. The larger a number, the more candidate factors it has had to survive — which is why the sieve in the companion topic thins out as it climbs.
  • "To test whether a number is prime you must try every smaller number." You need only test up to where the factor pairs cross over, because factors come in pairs and one member of each pair is at most the square root. This is an added argument, not the book's — say so — but it turns question 4 from a chore into a method.
  • "Primes have no factors." Printed as a true-or-false claim on p.115 for precisely this reason. They have two.
Transcript1,504 words

Two friends are packing fruit into boxes. One has twelve figs. The other has seven. The rule is simple. The fruit has to sit in a neat rectangle, with every row the same length. The friend with twelve tries it, and finds she has choices. More than one rectangle works. The friend with seven tries it, and something strange happens. Before I show you, guess. How many different rectangles can you make from seven figs?

Hold on to your number. That number is about to have a name. First, let's agree on what a rectangle is telling us. Here are twelve figs in three rows of four. Count across, and you get four. Count down, and you get three. Three rows of four is twelve. The two side lengths multiply to give the number. So every rectangle you can build is really a multiplication sentence, drawn instead of written.

And one more rule, the same one the book uses. Turning a rectangle on its side does not make a new one. Three rows of four and four rows of three are the same shape, just rotated. We count it once. Now let's find every rectangle for twelve. One long line. Twelve in a single row. That's a rectangle, a very thin one. Two rows of six. That works, and it looks like a proper block.

Three rows of four. That works too. What about five rows? Twelve doesn't split into five equal rows. One row would come up short. So twelve gives us exactly three rectangles. One by twelve, two by six, and three by four. Twelve has choices. Now seven. Two rows? Three and a half in each row. You'd have to cut a fig in half, so no. Three rows? Two in each row, and one fig left over, sitting outside the rectangle. No.

Four, five, six rows? Every one of them leaves something over. The only thing that works is a single line of seven. So seven has exactly one rectangle. If you guessed one, you were right, and you have just met the whole idea of this video. Twelve has choices. Seven has none. Here's why that matters, and it's the neat part. Every rectangle hands you two numbers, and both of them are factors.

The one-by-twelve rectangle hands over one and twelve. The two-by-six rectangle hands over two and six. The three-by-four rectangle hands over three and four. Stack them up. One, two, three, four, six, twelve. That is the complete factor list of twelve. And look what we didn't do. We never divided anything. We just drew boxes and read the sides. Three rectangles, six factors. Each rectangle is worth two. Seven's single rectangle hands over one and seven. That's it. Two factors, and no more.

So now we can sort every number by counting its factors. A number with exactly two factors, just one and itself, is called a prime number. Seven is prime. So are two, three, five, eleven, thirteen, seventeen and nineteen. A number with more than two factors is called a composite number. Twelve is composite, with six factors. So are four, six, eight, nine, ten and fifteen. Notice that nine is on that list. Nine is odd, and nine is composite, because three times three is nine.

Odd does not mean prime. That trips up more people than anything else in this chapter. Try the numbers from twenty-one to thirty yourself. Pause if you like. Only two of them are prime. Twenty-three and twenty-nine. Everything else in that decade breaks apart. Which leaves one number we've been quietly avoiding. The number one. One fig makes exactly one rectangle. A single square cell. So if you were counting rectangles, one would look just like seven. One rectangle each.

But count factors instead, and they come apart. Seven's rectangle is one by seven. Two different side lengths, so two factors. One's rectangle is one by one. The two sides are the same number, so they collapse into a single factor. One has exactly one factor. Not two, and not more than two. So one is not prime, and one is not composite. It isn't a special case bolted on afterwards. It simply never enters either bucket.

Now the number that surprises people. Two. Two is even. And two is prime. Its factors are one and two. That's exactly two factors, so it qualifies. Every other even number is composite, and the reason is easy to see. Four, six, eight, ten. Each one has two among its factors, and one, and itself. That's already three factors, at least. So two is the only even prime there will ever be.

It's not an exception to the rule. It's the rule doing exactly what it says, which is counting factors, not checking whether a number is even. Let's test some numbers by hand. Twenty-three, fifty-one, thirty-seven and twenty-six. Twenty-six is quick. It's even, so two divides it, and twenty-six is two times thirteen. Composite. Twenty-three. Try two, no. Three, no. Four, no. And here you can stop. Here's a shortcut that isn't in the textbook, but it's true and it works.

Factors come in pairs, and in every pair, one of them is small. Once the pairs cross over in the middle, you've already seen everything. For twenty-three, five times five is twenty-five, which is past twenty-three. So four was far enough. Twenty-three is prime. Thirty-seven, same story. Two, three, four, five, six, all fail, and seven times seven is forty-nine, past it. Thirty-seven is prime. Which leaves fifty-one, and this one is sneaky. It's odd. It doesn't end in five. It looks prime.

But three times seventeen is fifty-one. Composite, hiding in plain sight. That's why we test instead of guess. Now five claims about primes. Some are true and some are not. Decide for yourself before I say. Claim one. No prime number ends in the digit four. That one is actually true. Anything ending in four is even, so two divides it. Claim two. Multiply two primes together and you get another prime.

Two times three is six, and six is composite. Multiplying primes never gives a prime. Claim three. Primes have no factors. They have two. One, and themselves. A prime isn't a number you can't divide. It's a number with nothing else to divide by. Claim four. Every even number is composite. Two. Always two. It's the counterexample to half the wrong ideas about primes. Claim five. After two and three, you never get two primes right next to each other.

That one's true, and here's why. Of any two numbers in a row, one is even, so once you're past two, one of them is out. Primes aren't just a list to memorise. They behave in patterns worth hunting for. Some primes come in twos, separated by a single number. Three and five. Seventeen and nineteen. We call those twin primes. Below one hundred there are eight such pairs, ending with seventy-one and seventy-three.

Some primes stay prime when you write them backwards. Thirteen and thirty-one. Seventeen and seventy-one. Thirty-seven and seventy-three. Seventy-nine and ninety-seven. Here's one you can test right now. Take three digits, two, four and five, and make every three-digit number you can from them. Two four five. Two five four. Four two five. Four five two. Five two four. Five four two. Not one of them is prime, and you can see why without dividing at all. Every single one ends in two, four or five. So either two divides it, or five does.

And a harder hunt. Which of forty-five, sixty, ninety-one, one hundred and five, and three hundred and thirty is built from exactly three different primes? Forty-five is three times three times five. Three primes, but a three appears twice. Sixty has an extra two. Ninety-one is only seven times thirteen. Three hundred and thirty runs to four different primes. The answer is one hundred and five. Three times five times seven. Three primes, all different, each used once.

So what are primes actually for? Every composite number can be pulled apart into primes. That's what we just did with one hundred and five. And the primes can't be pulled apart any further. They're where the pulling stops. That's the real reason one is left out. If one counted as a prime, you could keep multiplying by one forever, and the pulling apart would never end. Primes are the building blocks. Every other number is something you can build out of them, and there's only one way to do it.

That last part is a big claim, and we'll earn it properly in a later video. For now, here's a question to leave you with. The composite numbers thin out as you go up, and the primes get rarer and rarer. So do the primes eventually run out? Is there a biggest one? People wondered about that for a very long time. Tell me what you think in the comments, and we'll settle it soon.

Where this fits

Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.

Builds on

Comes up again in

The book

Open in a new tab