Part (I)
THE RECTANGLE GAME
Choose a number and try to represent it as a
rectangle of dots
Let's try 6
6 = 2 x 3
# # #
# # #
Of course we can also say 6 = 3 x 2
# #
# #
# #
But we'll agree that means the same thing because you are just
changing the order in which you multiply, which results in rotating
the rectangle.
What about 9?
9 = 3 x 3
# # #
# # #
# # #
“but this is a square not a rectangle!”
you'll say.
OK.
Here a square counts as a rectangle
because it is really just a rectangle
where both the rows and columns
are the same.
(glad we sorted that out!)
Let's try another one: 35
35 = 5 x 7
# # # # # # #
# # # # # # #
# # # # # # #
# # # # # # #
# # # # # # #
So this seems very simple…
and perhaps not that important,
that numbers can be shown as rectangles.
But lets try another number
Say 7
7 = ?
# # # #
# # # (no)
# # #
# #
# # (no)
# #
# #
# #
# (no)
No matter how we try we cannot show 7 as a
rectangle
What about 11 ?
11 = ?
# # # #
# # # #
# # # (no)
# # # # # #
# # # # # (no)
Again, it looks like however you divide it
11 can't be a rectangle
Of course we could say that a row of #s is really a
rectangle:
7 = # # # # # # #
11 = # # # # # # # # # # #
But this spoils it because it's too easy, so we say that a
rectangle with only one row doesn't count!
So what can we see? A number can be a
rectangle if there are a whole number of rows and
columns in the shape.
This is the same as saying that we can find two
numbers that we can multiply together to make
the number we are testing.
But with numbers like 7 and 11 it seems that there
aren't any numbers that we can use to multiply
together to make the right result.
When you multiply two numbers and get the
answer the numbers you multiplied are called
factors
So we can say that the only factors of 7
are 1 and 7
Or with eleven the same
11= 1 x 11
There's no other way to divide up the number
So for that reason we call these numbers that
can't be rectangles
PRIME NUMBERS
And we call the other numbers that have factors
other than 1 and themselves
COMPOSITE NUMBERS
A prime number is a whole number that
is only divisible by itself and 1
All the other whole numbers are
composite
(there's no way to be both...)
Part (ii)
FACTORISATION
When we look at a composite number we
can see that it will have some
factors smaller than itself
12 = 2 x 6
9 = 3 x 3
8 = 2 x 4
And we might notice that some
composites can be the result of
more than one multiplication, like 12
12 = 3 x 4
But also
12 = 2 x 6
Remembering our rectangles
12 is
# # # #
# # # #
# # # #
And
# # # # # #
# # # # # #
But if 12 = 3 x 4
then we can say that,
since 4 = 2 x 2,
Then actually
12 = 3 x 2 x 2
In the same way, if 12 = 2 x 6
And 6 = 2 x 3
Then again
12 = 3 x 2 x 2
So if a number has a factor that is composite
We can express that factor as a result of
multiplication of its factors.
12 = 2 x 6 = 3 x 4 = 2 x 2 x 3
If we carry on doing this until
all the factors in the list are prime
then that list consists of the
PRIME FACTORS
of the number
And every composite number
only has one set of prime factors
(that's called
The Fundamental Theorem of Arithmetic
by the way...)
Lets take some more examples
to make sure this
is clear
How many ways can we
write 90 as the result
of a multiplication?
90 = 9 x 10
90 = 6 x 15
90 = 5 x 18
90 = 3 x 30
90 = 2 x 45
But once we take the factors we
just found and try to reduce them all
into prime factors we only get
one way of making 90
And that is
90 = 2 x 3 x 3 x 5
So this explains how some numbers can be the answer to
more than one multiplication
If a number has 3 or more different prime factors in its
factorisation then there will be more than one way of
combining them
Here's an example
30 = 5 x 6
30 = 2 x 15
30 = 3 x 10
So we can explain this by showing
That if the prime factors of 30 are 2, 3 and 5
(Meaning that 30 = 2 x 3 x 5)
Then
30 = (2 x 3) x 5
30 = 2 x (3 x 5)
30 = 3 x (2 x 5)
So, really, prime factorisation is
a way of breaking a number down
into its smallest constituents
Such that they can't be broken
down any further
Part (iii)
EUCLID'S PROOF
How many prime numbers are there?
(do they go on forever, or do they run out?)
This is our BIG question
And how will we know the answer?
We will try to prove it one way or the other using logic and
what we have learned so far
So let's start by saying
“there are an infinite number of primes”
Either
(i) this is TRUE
or
(ii) this is FALSE
Let's see what would
happen if it was FALSE
If it was false then there would be
only a finite number of primes…
a number such that when you
counted them you would
eventually reach the end and
have counted them all
If you can reach the end of counting them,
then you can put them all in a list…
...and that list will not go on forever.
(yes?)
So lets imagine the list
and say that, although we don't
know how many there are
(how long the list is) then
at least we do know that
this length is a normal number
Like 127, 5 or 1 Million.. whatever
(just not infinite)
And we will call this number n
So we imagine a list of all the n primes,
which we can show like this
r(1), r(2), r(3), r(4) … r(n)
And we want to make a new number from what
we already have
We'll call that number w
Let's make
w = r(1) x r(2) x r(3) x r(4) x … r(n)
This will mean that w has as its factors every
single prime, which is the same as every single
number in our list
Now let's go further and say
“what about w + 1 ?”
What would we know for sure
about this number?
To help us we quickly need to see
that when you multiply any two or
more primes and add 1
then the result is never divisible by any of the
factors you used
Lets try an example
(2 x 5) + 1 = 11
11 is not divisible by 2 or 5
Is this always true?
Yes because no matter how many numbers you
multiply, if you try and divide the product plus 1 by
any of them you'll always have a remainder of 1
always…
So with our number w + 1…
We now ask:
is w + 1 prime?
If w + 1 is prime then
(since it is not in the list)
we must have made
a way to add a new prime which
was not in the list of r(n)
In which case our list is not complete
What if w + 1 is composite?
If it is composite it must have a prime
factorisation. Yet we know that none of r(n)
can be its factors, from what we demonstrated
So there must be another prime that is a factor of
w + 1 that is not in the list
So again the list is not complete
So whatever we do, saying that there can be a
finite list of primes leads to a contradiction
If it is not the case that we can make a finite list
then the only remaining choice is that that the
collection of all primes is in fact neverending.
There are an infinite number of primes
This is Euclid's Proof
Thanks for watching...

Introduction to Prime Numbers

  • 1.
  • 2.
    Choose a numberand try to represent it as a rectangle of dots
  • 3.
  • 4.
    6 = 2x 3 # # # # # #
  • 5.
    Of course wecan also say 6 = 3 x 2 # # # # # # But we'll agree that means the same thing because you are just changing the order in which you multiply, which results in rotating the rectangle.
  • 6.
  • 7.
    9 = 3x 3 # # # # # # # # #
  • 8.
    “but this isa square not a rectangle!” you'll say. OK. Here a square counts as a rectangle because it is really just a rectangle where both the rows and columns are the same. (glad we sorted that out!)
  • 9.
  • 10.
    35 = 5x 7 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
  • 11.
    So this seemsvery simple… and perhaps not that important, that numbers can be shown as rectangles.
  • 12.
    But lets tryanother number Say 7
  • 13.
    7 = ? ## # # # # # (no) # # # # # # # (no) # # # # # # # (no)
  • 14.
    No matter howwe try we cannot show 7 as a rectangle
  • 15.
  • 16.
    11 = ? ## # # # # # # # # # (no) # # # # # # # # # # # (no) Again, it looks like however you divide it 11 can't be a rectangle
  • 17.
    Of course wecould say that a row of #s is really a rectangle: 7 = # # # # # # # 11 = # # # # # # # # # # # But this spoils it because it's too easy, so we say that a rectangle with only one row doesn't count!
  • 18.
    So what canwe see? A number can be a rectangle if there are a whole number of rows and columns in the shape. This is the same as saying that we can find two numbers that we can multiply together to make the number we are testing.
  • 19.
    But with numberslike 7 and 11 it seems that there aren't any numbers that we can use to multiply together to make the right result. When you multiply two numbers and get the answer the numbers you multiplied are called factors
  • 20.
    So we cansay that the only factors of 7 are 1 and 7 Or with eleven the same 11= 1 x 11 There's no other way to divide up the number
  • 21.
    So for thatreason we call these numbers that can't be rectangles PRIME NUMBERS
  • 22.
    And we callthe other numbers that have factors other than 1 and themselves COMPOSITE NUMBERS
  • 23.
    A prime numberis a whole number that is only divisible by itself and 1 All the other whole numbers are composite (there's no way to be both...)
  • 24.
  • 25.
    When we lookat a composite number we can see that it will have some factors smaller than itself 12 = 2 x 6 9 = 3 x 3 8 = 2 x 4
  • 26.
    And we mightnotice that some composites can be the result of more than one multiplication, like 12 12 = 3 x 4 But also 12 = 2 x 6
  • 27.
    Remembering our rectangles 12is # # # # # # # # # # # # And # # # # # # # # # # # #
  • 28.
    But if 12= 3 x 4 then we can say that, since 4 = 2 x 2, Then actually 12 = 3 x 2 x 2
  • 29.
    In the sameway, if 12 = 2 x 6 And 6 = 2 x 3 Then again 12 = 3 x 2 x 2
  • 30.
    So if anumber has a factor that is composite We can express that factor as a result of multiplication of its factors. 12 = 2 x 6 = 3 x 4 = 2 x 2 x 3
  • 31.
    If we carryon doing this until all the factors in the list are prime then that list consists of the PRIME FACTORS of the number
  • 32.
    And every compositenumber only has one set of prime factors (that's called The Fundamental Theorem of Arithmetic by the way...)
  • 33.
    Lets take somemore examples to make sure this is clear
  • 34.
    How many wayscan we write 90 as the result of a multiplication? 90 = 9 x 10 90 = 6 x 15 90 = 5 x 18 90 = 3 x 30 90 = 2 x 45
  • 35.
    But once wetake the factors we just found and try to reduce them all into prime factors we only get one way of making 90 And that is 90 = 2 x 3 x 3 x 5
  • 36.
    So this explainshow some numbers can be the answer to more than one multiplication If a number has 3 or more different prime factors in its factorisation then there will be more than one way of combining them
  • 37.
    Here's an example 30= 5 x 6 30 = 2 x 15 30 = 3 x 10 So we can explain this by showing That if the prime factors of 30 are 2, 3 and 5 (Meaning that 30 = 2 x 3 x 5) Then 30 = (2 x 3) x 5 30 = 2 x (3 x 5) 30 = 3 x (2 x 5)
  • 38.
    So, really, primefactorisation is a way of breaking a number down into its smallest constituents Such that they can't be broken down any further
  • 39.
  • 40.
    How many primenumbers are there? (do they go on forever, or do they run out?)
  • 41.
    This is ourBIG question And how will we know the answer? We will try to prove it one way or the other using logic and what we have learned so far
  • 42.
    So let's startby saying “there are an infinite number of primes” Either (i) this is TRUE or (ii) this is FALSE
  • 43.
    Let's see whatwould happen if it was FALSE
  • 44.
    If it wasfalse then there would be only a finite number of primes… a number such that when you counted them you would eventually reach the end and have counted them all
  • 45.
    If you canreach the end of counting them, then you can put them all in a list… ...and that list will not go on forever. (yes?)
  • 46.
    So lets imaginethe list and say that, although we don't know how many there are (how long the list is) then at least we do know that this length is a normal number Like 127, 5 or 1 Million.. whatever (just not infinite)
  • 47.
    And we willcall this number n
  • 48.
    So we imaginea list of all the n primes, which we can show like this r(1), r(2), r(3), r(4) … r(n)
  • 49.
    And we wantto make a new number from what we already have We'll call that number w
  • 50.
    Let's make w =r(1) x r(2) x r(3) x r(4) x … r(n)
  • 51.
    This will meanthat w has as its factors every single prime, which is the same as every single number in our list
  • 52.
    Now let's gofurther and say “what about w + 1 ?” What would we know for sure about this number?
  • 53.
    To help uswe quickly need to see that when you multiply any two or more primes and add 1 then the result is never divisible by any of the factors you used Lets try an example (2 x 5) + 1 = 11 11 is not divisible by 2 or 5
  • 54.
    Is this alwaystrue? Yes because no matter how many numbers you multiply, if you try and divide the product plus 1 by any of them you'll always have a remainder of 1 always…
  • 55.
    So with ournumber w + 1… We now ask: is w + 1 prime?
  • 56.
    If w +1 is prime then (since it is not in the list) we must have made a way to add a new prime which was not in the list of r(n) In which case our list is not complete
  • 57.
    What if w+ 1 is composite? If it is composite it must have a prime factorisation. Yet we know that none of r(n) can be its factors, from what we demonstrated So there must be another prime that is a factor of w + 1 that is not in the list So again the list is not complete
  • 58.
    So whatever wedo, saying that there can be a finite list of primes leads to a contradiction
  • 59.
    If it isnot the case that we can make a finite list then the only remaining choice is that that the collection of all primes is in fact neverending. There are an infinite number of primes This is Euclid's Proof
  • 60.