What this les­son is about

Every count­ing num­ber can be built by mul­ti­ply­ing. Some num­bers can be built in many ways; 1212 is 2×62 \times 6 and also 3×43 \times 4. Oth­ers can only be built as one times them­selves. Those are the prime num­bers, and they are the build­ing blocks of all the rest. You will use them when you find the H.C.F and L.C.M, when you can­cel frac­tions, and in later classes when you fac­torise.

Count­ing the fac­tors

You already know what a fac­tor is. A fac­tor of a num­ber divides it exactly. Noth­ing is left over. The fac­tors of 66 are 1,2,3,61, 2, 3, 6. The fac­tors of 1212 are 1,2,3,4,6,121, 2, 3, 4, 6, 12. This les­son does one new thing with that idea. It counts them.

11 divides every num­ber. And every num­ber divides itself. Those two fac­tors come free. So here is the ques­tion that mat­ters. Does the num­ber have any oth­ers?

That one ques­tion sorts the nat­ural num­bers into three piles. The nat­ural num­bers are the ones you count with. You start at one and keep going for ever. The three piles have names.

Prime num­bers

The acad­e­my's def­i­n­i­tion. A nat­ural num­ber greater than 11 is a prime num­ber if it has only two divi­sors (fac­tors): 11 and itself.

Read it slowly. Every part of it does a job. Two divi­sors, not one and not three. 11 and itself says which two they must be. And greater than 11 keeps 11 out. The part called Where 11 belongs shows why.

Here are five prime num­bers. Their fac­tors are writ­ten out in full.

Prime num­berAll its fac­torsHow many
221,21, 2two
331,31, 3two
551,51, 5two
771,71, 7two
11111,111, 11two

Every row has exactly two. Look at 77. Noth­ing else will divide it: not 22, not 33, not 44, not 55, not 66. So 77 keeps just the two fac­tors that every num­ber has. That is what makes a num­ber prime. Not that it is spe­cial. Just that noth­ing else got in.

See­ing it with coun­ters

Here is a way to see the dif­fer­ence. Take some coun­ters and try to lay them out as a rec­tan­gle with at least one full row. Each rec­tan­gle you can make gives you a pair of fac­tors.

Seven counters can only form one row, 1 x 7, so 7 is prime; twelve counters form rectangles 1 x 12, 2 x 6 and 3 x 4, so 12 is composite.
Seven coun­ters make only one rec­tan­gle. Twelve coun­ters make three.

Seven coun­ters will only lie in a sin­gle row of seven. Try two rows and one counter is left over. Try three rows and one is left over again. So the only fac­tors are 11 and 77. Twelve coun­ters, though, make a row of twelve, two rows of six and three rows of four. Those three rec­tan­gles give the six fac­tors 1,2,3,4,6,121, 2, 3, 4, 6, 12.

Remem­ber. A prime num­ber has exactly two fac­tors: 11 and itself. Not one fac­tor. Not three. Exactly two.

Com­pos­ite num­bers

Here is the def­i­n­i­tion, the plain way round. A nat­ural num­ber which has more than two divi­sors (fac­tors) is a com­pos­ite num­ber. The acad­emy writes it the other way round. A nat­ural num­ber which is nei­ther 11 nor prime is called a com­pos­ite num­ber. That says two things. The num­ber is not 11. And it is not prime. Every other count­ing num­ber is com­pos­ite.

Here are eight com­pos­ite num­bers. Take 44 first. The fac­tors (divi­sors) of 44 are 1,2,41, 2, 4. That is three fac­tors. Three is more than two. So 44 is com­pos­ite.

The same count­ing for the rest of them.

Com­pos­ite num­berAll its fac­torsHow many
441,2,41, 2, 4three
661,2,3,61, 2, 3, 6four
881,2,4,81, 2, 4, 8four
991,3,91, 3, 9three
10101,2,5,101, 2, 5, 10four
12121,2,3,4,6,121, 2, 3, 4, 6, 12six
14141,2,7,141, 2, 7, 14four
15151,3,5,151, 3, 5, 15four

Notice how lit­tle it takes. To show that a num­ber is com­pos­ite, you do not need all of its fac­tors. One extra fac­tor is enough. Then you may stop. Take 99. It is not even, so 22 will never divide it. But 33 does. That third fac­tor set­tles it. The fac­tors of 99 are 1,3,91, 3, 9. Three fac­tors, and three is more than two.

Remem­ber. A com­pos­ite num­ber has more than two fac­tors. Find one more fac­tor besides 11 and the num­ber itself. That is enough to prove it.

A worked exam­ple: 2424

To list every fac­tor with­out miss­ing any, work in pairs. Start at 11 and go up, writ­ing each fac­tor with its part­ner.

24=1×24=2×12=3×8=4×6\begin{aligned}24 &= 1 \times 24 \\ &= 2 \times 12 \\ &= 3 \times 8 \\ &= 4 \times 6\end{aligned}

Five does not divide 2424. The next num­ber to try is 66, but 66 is already in the list as the part­ner of 44. Once the pairs start to repeat, you have found them all. So the fac­tors of 2424 are 1,2,3,4,6,8,12,241, 2, 3, 4, 6, 8, 12, 24. That is eight fac­tors, so 2424 is com­pos­ite.

Now try 4949. It is odd, so 22 does not divide it. Nor do 33, 44, 55 or 66. But 49=7×749 = 7 \times 7. Here the pair is one num­ber used twice, so it adds just one fac­tor. The fac­tors are 1,7,491, 7, 49: three of them, so 4949 is com­pos­ite.

Where 11 belongs

11 is nei­ther prime nor com­pos­ite. Here is why. The fac­tors of 11 are 11. That is one fac­tor, and only one. Look at the two free fac­tors of 11. The first one is 11. The sec­ond one is the num­ber itself, which is also 11. They are the same num­ber. So they fold into one.

So 11 fails both tests at once. It does not have two fac­tors. So it can­not be prime. It does not have more than two. So it can­not be com­pos­ite. It sits on its own. That is the third pile.

Remem­ber. 11 is nei­ther prime nor com­pos­ite. It has one fac­tor only. Prime asks for two. Com­pos­ite asks for more than two.

22 is the only even prime num­ber

The two def­i­n­i­tions you have just read set­tle some­thing about even num­bers. 22 divides every even num­ber. So 22 is a fac­tor of every even num­ber. Now take any even num­ber big­ger than 22. Its fac­tor list holds 11. It holds 22. It holds the num­ber itself. Those are three dif­fer­ent num­bers. Three is more than two. So the num­ber can­not be prime.

The com­pos­ite table above shows it hap­pen­ing. The fac­tors of 44 are 1,2,41, 2, 4. The fac­tors of 66 are 1,2,3,61, 2, 3, 6. The fac­tors of 88 are 1,2,4,81, 2, 4, 8. The same 22 caught all three. That is why each one has more than two fac­tors.

22 is the one even num­ber this argu­ment can­not touch. Look at what hap­pens with 22. The free fac­tor the num­ber itself is 22. The fac­tor 22 is that same num­ber. So noth­ing new is added. The list stays at 1,21, 2. That is exactly two fac­tors. So 22 is prime. Every other even num­ber is ruled out. So every prime after 22 is odd.

Remem­ber. 22 is the only even prime num­ber. Every even num­ber big­ger than 22 has 11, 22 and itself among its fac­tors. That is more than two. So no other even num­ber can be prime.

Four things to remem­ber

  1. The small­est prime num­ber is 22. 11 is not prime. So 22 is the first count­ing num­ber with exactly two fac­tors.
  2. The small­est com­pos­ite num­ber is 44. 11 is nei­ther. 22 and 33 are prime. So 44 is the first num­ber to pick up a third fac­tor.
  3. 11 is nei­ther prime nor com­pos­ite.
  4. There are 2525 prime num­bers below 100100.

Here is the list. Read it across each row.

221313313153537373
331717373759597979
551919414161618383
772323434367678989
11112929474771719797
A hundred square from 1 to 100 with the 25 prime numbers shaded green, composite numbers left white, and the number 1 shaded grey as neither.
The hun­dred square with every prime shaded. Notice that after 2, no prime sits in an even col­umn.

Twenty-five alto­gether. Count them ten at a time. That is a good way to check you have them all. It also shows how unevenly they fall.

Ten num­bersThe primes in itHow many
11 to 10102,3,5,72, 3, 5, 7four
1111 to 202011,13,17,1911, 13, 17, 19four
2121 to 303023,2923, 29two
3131 to 404031,3731, 37two
4141 to 505041,43,4741, 43, 47three
5151 to 606053,5953, 59two
6161 to 707061,6761, 67two
7171 to 808071,73,7971, 73, 79three
8181 to 909083,8983, 89two
9191 to 1001009797one

There are four in the first ten. There is only one in the last. But the count does not fall steadily on the way. The for­ties hold three. The sev­en­ties hold three too. Noth­ing you have learned so far tells you where the next prime will fall. You learn the list.

Prov­ing that a num­ber is com­pos­ite

One extra fac­tor is all it takes. You have just learned the divis­i­bil­ity rules. Each rule is a quick test. It tells you whether some small num­ber divides your num­ber. You do not have to do the divid­ing sum. Those tests are made for find­ing a fac­tor. Try 9191. It looks like a prime. It is not.

Start with the easy tests. 9191 ends in 11. The tests for 22, for 55 and for 1010 all look at the last digit. A last digit of 11 passes none of them. So 22 does not divide 9191. Nor does 55. Nor does 1010.

Next add the dig­its: 9+1=109 + 1 = 10. The tests for 33 and for 99 use that total. But 33 does not divide 1010. So 33 does not divide 9191 either. Nor does 99.

The test for 66 asks for two things at once. Both 22 and 33 must divide the num­ber. 9191 has just failed both. So 66 does not divide it.

The test for 44 looks at the last two dig­its. The test for 88 looks at the last three. But 9191 has only two dig­its. So both tests look at the whole of 9191. And 44 does not divide 9191. Nor does 88.

That leaves 77 and 1111 to try.

Now try the rule for 77. You met it in Divis­i­bil­ity rules for 6, 7, 8, 9, 10 and 11. Here is what it says. Take the last digit and dou­ble it. Then take that away from the num­ber the other dig­its make. Look at what you are left with. Is it 00? Is it in the 77 times table? Then 77 divides the num­ber.

Test­ing 9191 with the rule for 77

92×1=92=79 - 2 \times 1 = 9 - 2 = 7

77 is in the 77 times table. So 77 divides 9191. Divide it out. Now you can see what 9191 was hid­ing.

What 9191 really is

91=7×1391 = 7 \times 13

So the fac­tors of 9191 are 1,7,13,911, 7, 13, 91. That is four fac­tors. So 9191 is com­pos­ite. That is why it is miss­ing from the list of twenty-five.

The other way round is harder. It is worth being hon­est about that. To show a num­ber is com­pos­ite, you find one fac­tor. To show a num­ber is prime, you need much more. You must know that no extra fac­tor exists at all. Fail­ing to find one is not the same as there being none. That is why the twenty-five primes below 100100 are worth learn­ing by heart. Know­ing them is quicker than work­ing them out again every time.

Remem­ber. One extra fac­tor proves a num­ber com­pos­ite. Prov­ing a num­ber prime is a dif­fer­ent kind of job. So learn the twenty-five.

A sec­ond worked exam­ple: 119119

This num­ber is above 100100, so the list of twenty-five can­not help. Work through the tests. It ends in 99, so 22, 55 and 1010 do not divide it. Its dig­its add to 1+1+9=111 + 1 + 9 = 11, which 33 does not divide, so nei­ther 33 nor 99 divides it.

Now the rule for 77. Dou­ble the last digit and take it from the rest.

112×9=1118=711 - 2 \times 9 = 11 - 18 = -7

The result is 7-7. The rule works with a neg­a­tive answer too: 7-7 is 77 times 1-1. So 77 divides 119119, and 119=7×17119 = 7 \times 17. The fac­tors are 1,7,17,1191, 7, 17, 119, so 119119 is com­pos­ite.

The first twenty num­bers, sorted

Every­thing in this les­son, gath­ered in one place. The table holds every num­ber from 11 to 2020. It gives the fac­tors of each one. It gives how many there are. It gives which pile that puts it in. Noth­ing here is new.

Num­berAll its fac­torsHow manyWhich pile
1111onenei­ther
221,21, 2twoprime
331,31, 3twoprime
441,2,41, 2, 4threecom­pos­ite
551,51, 5twoprime
661,2,3,61, 2, 3, 6fourcom­pos­ite
771,71, 7twoprime
881,2,4,81, 2, 4, 8fourcom­pos­ite
991,3,91, 3, 9threecom­pos­ite
10101,2,5,101, 2, 5, 10fourcom­pos­ite
11111,111, 11twoprime
12121,2,3,4,6,121, 2, 3, 4, 6, 12sixcom­pos­ite
13131,131, 13twoprime
14141,2,7,141, 2, 7, 14fourcom­pos­ite
15151,3,5,151, 3, 5, 15fourcom­pos­ite
16161,2,4,8,161, 2, 4, 8, 16fivecom­pos­ite
17171,171, 17twoprime
18181,2,3,6,9,181, 2, 3, 6, 9, 18sixcom­pos­ite
19191,191, 19twoprime
20201,2,4,5,10,201, 2, 4, 5, 10, 20sixcom­pos­ite

Read the last col­umn down­wards. 11 stands alone at the top. The primes are scat­tered through the rest. They fol­low no pat­tern you could pre­dict. Every­thing else is com­pos­ite. Now read the mid­dle col­umn. You can see just why each num­ber landed where it did.

Your turn

Write out all the fac­tors of each num­ber, then say whether it is prime or com­pos­ite

1) 21216) 3131
2) 23237) 3333
3) 25258) 3535
4) 27279) 3737
5) 292910) 3939

Which of these are prime?

1) 41416) 5757
2) 45457) 5959
3) 49498) 6363
4) 51519) 6767
5) 535310) 6969

And these, in words

  1. Why is 11 nei­ther prime nor com­pos­ite?
  2. How many prime num­bers are there below 100100? Write them all out from mem­ory. Then check your list against the one above.
  3. 8787 is not a prime num­ber. Find the fac­tor that proves it. Which rule found it for you?
  4. Write down the small­est prime num­ber. Say why no smaller num­ber will do. Now write down the small­est com­pos­ite num­ber. Say why no smaller num­ber will do there either.
  5. A num­ber has exactly three fac­tors. Is it prime or com­pos­ite? How do you know?
  6. Between 9090 and 100100 there is only one prime num­ber. Which one is it?

Com­mon mis­takes

  • Call­ing 11 a prime num­ber. It has only one fac­tor, and a prime needs exactly two.
  • Think­ing every odd num­ber is prime. 99, 1515, 2121, 4949 and 9191 are all odd and all com­pos­ite.
  • Think­ing 22 can­not be prime because it is even. It has exactly two fac­tors, 11 and 22.
  • Stop­ping too soon when test­ing. Not being divis­i­ble by 22, 33 and 55 does not make a num­ber prime; 4949 and 9191 are caught by 77.
  • Count­ing a repeated fac­tor twice. The fac­tors of 2525 are 1,5,251, 5, 25: three, not four.

Key terms

Nat­ural num­bers
The count­ing num­bers 1,2,31, 2, 3 and so on.
Fac­tor (divi­sor)
A num­ber that divides another num­ber exactly, leav­ing noth­ing over.
Prime num­ber
A nat­ural num­ber greater than 11 with exactly two fac­tors, 11 and itself.
Com­pos­ite num­ber
A nat­ural num­ber with more than two fac­tors.
Divis­i­bil­ity rule
A quick test that shows whether one num­ber divides another with­out doing the divi­sion.
Fac­tor pair
Two fac­tors that mul­ti­ply to give the num­ber, such as 33 and 88 for 2424.

Answers

Fac­tors, then prime or com­pos­ite

  1. 2121: fac­tors 1,3,7,211, 3, 7, 21. Com­pos­ite.
  2. 2323: fac­tors 1,231, 23. Prime.
  3. 2525: fac­tors 1,5,251, 5, 25. Com­pos­ite.
  4. 2727: fac­tors 1,3,9,271, 3, 9, 27. Com­pos­ite.
  5. 2929: fac­tors 1,291, 29. Prime.
  6. 3131: fac­tors 1,311, 31. Prime.
  7. 3333: fac­tors 1,3,11,331, 3, 11, 33. Com­pos­ite.
  8. 3535: fac­tors 1,5,7,351, 5, 7, 35. Com­pos­ite.
  9. 3737: fac­tors 1,371, 37. Prime.
  10. 3939: fac­tors 1,3,13,391, 3, 13, 39. Com­pos­ite.

Which of these are prime?

  1. 4141: prime.
  2. 4545: not prime, since 45=5×945 = 5 \times 9.
  3. 4949: not prime, since 49=7×749 = 7 \times 7.
  4. 5151: not prime, since 51=3×1751 = 3 \times 17.
  5. 5353: prime.
  6. 5757: not prime, since 57=3×1957 = 3 \times 19.
  7. 5959: prime.
  8. 6363: not prime, since 63=7×963 = 7 \times 9.
  9. 6767: prime.
  10. 6969: not prime, since 69=3×2369 = 3 \times 23.

So the primes are 4141, 5353, 5959 and 6767.

In words (model answers)

  1. 11 has only one fac­tor, itself. A prime needs exactly two fac­tors and a com­pos­ite needs more than two, so 11 is nei­ther.
  2. There are 2525: 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,972, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.
  3. The dig­its of 8787 add to 8+7=158 + 7 = 15, which 33 divides. So the rule for 33 finds the fac­tor 33, and 87=3×2987 = 3 \times 29.
  4. The small­est prime is 22: the only smaller nat­ural num­ber is 11, which has one fac­tor. The small­est com­pos­ite is 44: 11 is nei­ther, and 22 and 33 are prime.
  5. Com­pos­ite. It has more than two fac­tors, and a prime has exactly two. (Such num­bers are squares of primes, like 44, 99 and 2525.)
  6. 9797.