SlideShare a Scribd company logo
The Mathematics of
Professor Alan's Puzzle Square
part 1 – counting squares
https://magisoft.co.uk/alan/misc/game/game.html
How many puzzle squares?
We’ll start with the
numbered square.
Although this seems
more complicated than
the simple coloured
square, the maths
turns out to be easier.
One by one
There are 16 choices
for the first square
Let’s say we choose
tile 3
One by one
There are now just 15
choices left for the
second square.
16 x 15 choices so far.
Let’s say we choose
tile 11
One by one
We have 14 choices
left for the third
square.
16 x 15 x 14 choices
so far.
You can see the
pattern!
One by one
By the time we get to
the last square, there
is only one tile left
and we have made.
16 x 15 x 14 x 13 x 12
x 11 x 10 x 9 x 8 x 7 x
6 x 5 x 4 x 3 x 2 x 1
choices altogether.
One by one
So there are 16 x 15 x 14 x 13 x 12 x 11 x 10 x
9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 ways to arrange
all the numbers on the square.
This product of all the
numbers up to 16 is called
16 factorial and written ‘16!’
That is 16 with an
exclamation mark after it.
Factorials grow very quickly!
1! = 1 = 1
2! = 2x1 = 2
3! = 3x2x1 = 6
4! = 4x3x2x1 = 24
5! = 5x4x3x2x1 = 120
6! = 6x5x4x3x2x1 = 720
7! = 7x6x5x4x3x2x1 = 5040
8! = 8x7x6x5x4x3x2x1 = 40320
Factorials grow very quickly!
1! = 1 = 1
2! = 2x1 = 2
3! = 3x2x1 = 6
…
…
16! = 16x15x14x13x12
x 11x10x9x8x7 =
x 6x5x4x3x2x1 = 20922789888000
A lot of squares
So there are 16!, that is 20,922,789,888,000
ways to arrange all the numbers on the
square.
Yes, more than twenty trillion.
twenty thousand thousand million
That’s a big number
It is hard to understand huge numbers like
20,922,789,888,000.
To give a sense of this imagine you started to
try them all out and could lay out a fresh set
of tiles every second (fast fingers!).
It would still take you more
than 600 thousand years to
try them all out.
Even with help
Suppose you recruited everyone in the world
to help, that is nearly 8 billion people; it
would still take the best part of an hour for
you to try all 20,922,789,888,000
combinations of tiles.
https://commons.wikimedia.org/wiki/File:People-World-Map-Prismatic-2.png
Just four colours
If you’ve tried it already,
you’ll know it is easier to
solve the four colour puzzle
than the number one.
So how many four colour
squares are there?
Surprisingly, this is slightly
harder to work out.
One by one
We can start one by one
like we did with the
number square.
There are just 4 choices for
the first colour.
Let’s say we choose the
green tile.
One by one
For the second square
there are still 4 colours to
choose from.
4 x 4 choices so far.
Let’s say we choose the
blue tile.
One by one
… and for the third square
still 4 colours left.
4 x 4 x 4 choices so far.
This is looking far too easy!
One by one
Until we run out of one of
the colours … oops!
No more blue left now, so
only 3 choices for the next
colour.
Of course eventually
we’ll run out of another
colour too …
?
One by one
We could have run out
after the very first row, or
if the colours came out
evenly, been into the
fourth row before we
reduced to 3 colours
?
Easier by numbers
There are so many ways we
could end up dropping to 3
colours and then to two and
eventually one. The sums get
very complicated!
The number square was
simpler to work out because
every tile was different.
Easier by numbers
So let’s imagine putting little
stickers on our coloured tiles,
with a number on each.
Now it is just like the number
square; so we know there are
16 factorial different squares
with stickers.
14
10 11 12
13 1615
2
65
31
9
8
4
7
Similar squares
Of course, some squares that
look different with the
stickers on, look the same
when they are peeled off.
14 10
11
12
13
16
15
2 65
3
19
8
4
7
16 11
12
9
15
14
13
4 68
2
310
7
1
5
How many similar?
If we focus on the red tiles,
there are 24 (4 factorial) ways
to label them with stickers. 4
1
32
3
1
42
4
1
23
2
1
43
4
2
31
3
2
1
… and for every colour
You can count the 24 ways
yourself, but it is similar to
counting the numbered
squares: 4 choices for the first
red tile, 3 for the second…
ending up with 4 factorial (4!)
choices of blue stickers.
Similarly there are 24 choices
of blue stickers, green stickers
and yellow stickers.
13 10
11
9
15
16
14
4 76
1
312
8
2
5
4
1
32
Removing double counting
So, for every coloured square
there are
4!x4!x4!x4!
= 24 x 24 x 24 x 24
numbered versions.
If we divide the total number
of numbered squares by this
we end up with the number
of coloured ones.
14 10
11
12
13
16
15
2 65
3
19
8
4
7
The number of coloured squares
Our final square count is
16! / 4!x4!x4!x4!
=
= 63,036,000
20,922,789,888,000
24 x 24 x 24 x 24
The number of coloured squares
63,036,000 is still a very big
number, more than sixty
million, but a lot less than the
twenty trillion numbered
squares.
To put this in perspective, if
you tried one a second it
would still take 2 years, but
not 600,000 years!
What have we seen so far
Although we have just been counting things, we have
actually seen quite a lot of maths:
1. Combinatorics (counting combinations) is important
in many areas including probability and physics
2. Factorials such as 15! – they come up everywhere
3. The trick of finding all combinations of something,
and then dividing by how many are double counted
4. Making sense of very big numbers

More Related Content

PPT
GCSE Foundation Revision Quiz
PPTX
Other Sizes - Part 4 of The Mathematics of Professor Alan's Puzzle Square
PPT
Enlish presntation
PPT
CLASS V MATHS PATTERN
PPTX
Completing the square
PPT
Multiplication2
PPT
Multiplication2
PPTX
GCSE Linear Starters Higher
GCSE Foundation Revision Quiz
Other Sizes - Part 4 of The Mathematics of Professor Alan's Puzzle Square
Enlish presntation
CLASS V MATHS PATTERN
Completing the square
Multiplication2
Multiplication2
GCSE Linear Starters Higher

What's hot (20)

PPT
Perfect squares & square roots lesson 12
PDF
Pure ch20
PDF
Magical maths
PPTX
Numbers to 100
PPTX
Numbers to 40
PPTX
3. Mathematics Quiz - Mental ability
PPTX
Preparation for chekpoint math paper 1
PPTX
Math 10 fundamental principle of counting
PPTX
Alhikmah preparation for checkpoint math paper 2
PPTX
Math magic 1st
PDF
Understanding Square Numbers (Lesson 1)
PPTX
Theorem of phytagoras
PPT
Multiplication
PPT
Multiply And Divide Decimals By Powers Of 10
PPT
Polynomials.!
PPT
Completing The Square
PPT
Recreational Mathematics
PDF
NEG6MathPTPaper.12.06.10.pdf
PPTX
Shape puzzle
PPT
Multiplication arrays
Perfect squares & square roots lesson 12
Pure ch20
Magical maths
Numbers to 100
Numbers to 40
3. Mathematics Quiz - Mental ability
Preparation for chekpoint math paper 1
Math 10 fundamental principle of counting
Alhikmah preparation for checkpoint math paper 2
Math magic 1st
Understanding Square Numbers (Lesson 1)
Theorem of phytagoras
Multiplication
Multiply And Divide Decimals By Powers Of 10
Polynomials.!
Completing The Square
Recreational Mathematics
NEG6MathPTPaper.12.06.10.pdf
Shape puzzle
Multiplication arrays
Ad

Similar to How Many - Part 1 of The Mathematics of Professor Alan's Puzzle Square (20)

PPT
24Term 1 week 1 Mathematics ppt on Place Value.ppt
PDF
Pre calculus math 40s - permutations & combinations - lesson 1
PPTX
Maths level 1 chapter 1 learner materials
ODP
Questions on decimals and fractions
DOCX
Quadratic patterns
PPT
Just Say "NO" To Worksheets
DOCX
Combinations and permutations
PDF
Permutation
PPT
f38-special-numbers.pptnjkwedewqfqerffr1
PPTX
Basics of Counting Techniques
PPSX
01 Introduction to Whole Number Sense Learner.ppsx
PPTX
PRINCIPLES OF COUNTING AND THEORIES OF PROBABILITY.pptx
PPTX
square and square roots
PPTX
PatterntsinMathematicsPPT144873 (6).pptx
PPSX
Maths puzzle
PPTX
PERMUTATIONS
PPTX
Math-2-Week 1.2 - Counting Up to Thousands.pptx
PPT
August 26th lesson notes
PPTX
Maths Unit 2 REvision
PPTX
counting techniques
24Term 1 week 1 Mathematics ppt on Place Value.ppt
Pre calculus math 40s - permutations & combinations - lesson 1
Maths level 1 chapter 1 learner materials
Questions on decimals and fractions
Quadratic patterns
Just Say "NO" To Worksheets
Combinations and permutations
Permutation
f38-special-numbers.pptnjkwedewqfqerffr1
Basics of Counting Techniques
01 Introduction to Whole Number Sense Learner.ppsx
PRINCIPLES OF COUNTING AND THEORIES OF PROBABILITY.pptx
square and square roots
PatterntsinMathematicsPPT144873 (6).pptx
Maths puzzle
PERMUTATIONS
Math-2-Week 1.2 - Counting Up to Thousands.pptx
August 26th lesson notes
Maths Unit 2 REvision
counting techniques
Ad

More from Alan Dix (20)

PPTX
Artificial Intelligence for Agriculture: Being smart and Being small
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
PPTX
Whose choice? Making decisions with and about Artificial Intelligence, Keele ...
PPTX
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
PPTX
Citations and Sub-Area Bias in the UK Research Assessment Process
PPTX
Technical Creativity – 901 Time Managing Creativity Introduction
PPTX
Technical Creativity – 906 Doing Nothing
PPTX
Technical Creativity – 905 Impasse: getting unstuck
PPTX
Technical Creativity – 904 To Do and Done
PPTX
Technical Creativity – 902 Plans: staying open to creative moments
PPTX
Technical Creativity – 903 Busy Work: being productive in the gaps
PPTX
Technical Creativity – 907 The Creativity Plan
PPTX
Technical Creativity – 801 Nurture Introduction
PPTX
Technical Creativity – 802 Habits that foster creativity
PPTX
Technical Creativity – 803 Create and Capture
PPTX
Technical Creativity – 701 Personality Prostheses: working with you
PPTX
Technical Creativity – 702 One Morning: a short creativity story
PPTX
Technical Creativity – 603 Fixation and Insight
PPTX
Technical Creativity – 605 What is the Problem
PPTX
Technical Creativity – 601 Theory Introduction
Artificial Intelligence for Agriculture: Being smart and Being small
Enabling the Digital Artisan – keynote at ICOCI 2025
Whose choice? Making decisions with and about Artificial Intelligence, Keele ...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Citations and Sub-Area Bias in the UK Research Assessment Process
Technical Creativity – 901 Time Managing Creativity Introduction
Technical Creativity – 906 Doing Nothing
Technical Creativity – 905 Impasse: getting unstuck
Technical Creativity – 904 To Do and Done
Technical Creativity – 902 Plans: staying open to creative moments
Technical Creativity – 903 Busy Work: being productive in the gaps
Technical Creativity – 907 The Creativity Plan
Technical Creativity – 801 Nurture Introduction
Technical Creativity – 802 Habits that foster creativity
Technical Creativity – 803 Create and Capture
Technical Creativity – 701 Personality Prostheses: working with you
Technical Creativity – 702 One Morning: a short creativity story
Technical Creativity – 603 Fixation and Insight
Technical Creativity – 605 What is the Problem
Technical Creativity – 601 Theory Introduction

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Lesson notes of climatology university.
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Yogi Goddess Pres Conference Studio Updates
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
VCE English Exam - Section C Student Revision Booklet
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
2.FourierTransform-ShortQuestionswithAnswers.pdf
RMMM.pdf make it easy to upload and study
Lesson notes of climatology university.
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Complications of Minimal Access Surgery at WLH
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Yogi Goddess Pres Conference Studio Updates
Final Presentation General Medicine 03-08-2024.pptx
Final Presentation General Medicine 03-08-2024.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
GDM (1) (1).pptx small presentation for students
Pharmacology of Heart Failure /Pharmacotherapy of CHF
VCE English Exam - Section C Student Revision Booklet

How Many - Part 1 of The Mathematics of Professor Alan's Puzzle Square

  • 1. The Mathematics of Professor Alan's Puzzle Square part 1 – counting squares https://magisoft.co.uk/alan/misc/game/game.html
  • 2. How many puzzle squares? We’ll start with the numbered square. Although this seems more complicated than the simple coloured square, the maths turns out to be easier.
  • 3. One by one There are 16 choices for the first square Let’s say we choose tile 3
  • 4. One by one There are now just 15 choices left for the second square. 16 x 15 choices so far. Let’s say we choose tile 11
  • 5. One by one We have 14 choices left for the third square. 16 x 15 x 14 choices so far. You can see the pattern!
  • 6. One by one By the time we get to the last square, there is only one tile left and we have made. 16 x 15 x 14 x 13 x 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 choices altogether.
  • 7. One by one So there are 16 x 15 x 14 x 13 x 12 x 11 x 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 ways to arrange all the numbers on the square. This product of all the numbers up to 16 is called 16 factorial and written ‘16!’ That is 16 with an exclamation mark after it.
  • 8. Factorials grow very quickly! 1! = 1 = 1 2! = 2x1 = 2 3! = 3x2x1 = 6 4! = 4x3x2x1 = 24 5! = 5x4x3x2x1 = 120 6! = 6x5x4x3x2x1 = 720 7! = 7x6x5x4x3x2x1 = 5040 8! = 8x7x6x5x4x3x2x1 = 40320
  • 9. Factorials grow very quickly! 1! = 1 = 1 2! = 2x1 = 2 3! = 3x2x1 = 6 … … 16! = 16x15x14x13x12 x 11x10x9x8x7 = x 6x5x4x3x2x1 = 20922789888000
  • 10. A lot of squares So there are 16!, that is 20,922,789,888,000 ways to arrange all the numbers on the square. Yes, more than twenty trillion. twenty thousand thousand million
  • 11. That’s a big number It is hard to understand huge numbers like 20,922,789,888,000. To give a sense of this imagine you started to try them all out and could lay out a fresh set of tiles every second (fast fingers!). It would still take you more than 600 thousand years to try them all out.
  • 12. Even with help Suppose you recruited everyone in the world to help, that is nearly 8 billion people; it would still take the best part of an hour for you to try all 20,922,789,888,000 combinations of tiles. https://commons.wikimedia.org/wiki/File:People-World-Map-Prismatic-2.png
  • 13. Just four colours If you’ve tried it already, you’ll know it is easier to solve the four colour puzzle than the number one. So how many four colour squares are there? Surprisingly, this is slightly harder to work out.
  • 14. One by one We can start one by one like we did with the number square. There are just 4 choices for the first colour. Let’s say we choose the green tile.
  • 15. One by one For the second square there are still 4 colours to choose from. 4 x 4 choices so far. Let’s say we choose the blue tile.
  • 16. One by one … and for the third square still 4 colours left. 4 x 4 x 4 choices so far. This is looking far too easy!
  • 17. One by one Until we run out of one of the colours … oops! No more blue left now, so only 3 choices for the next colour. Of course eventually we’ll run out of another colour too … ?
  • 18. One by one We could have run out after the very first row, or if the colours came out evenly, been into the fourth row before we reduced to 3 colours ?
  • 19. Easier by numbers There are so many ways we could end up dropping to 3 colours and then to two and eventually one. The sums get very complicated! The number square was simpler to work out because every tile was different.
  • 20. Easier by numbers So let’s imagine putting little stickers on our coloured tiles, with a number on each. Now it is just like the number square; so we know there are 16 factorial different squares with stickers. 14 10 11 12 13 1615 2 65 31 9 8 4 7
  • 21. Similar squares Of course, some squares that look different with the stickers on, look the same when they are peeled off. 14 10 11 12 13 16 15 2 65 3 19 8 4 7 16 11 12 9 15 14 13 4 68 2 310 7 1 5
  • 22. How many similar? If we focus on the red tiles, there are 24 (4 factorial) ways to label them with stickers. 4 1 32 3 1 42 4 1 23 2 1 43 4 2 31 3 2 1
  • 23. … and for every colour You can count the 24 ways yourself, but it is similar to counting the numbered squares: 4 choices for the first red tile, 3 for the second… ending up with 4 factorial (4!) choices of blue stickers. Similarly there are 24 choices of blue stickers, green stickers and yellow stickers. 13 10 11 9 15 16 14 4 76 1 312 8 2 5 4 1 32
  • 24. Removing double counting So, for every coloured square there are 4!x4!x4!x4! = 24 x 24 x 24 x 24 numbered versions. If we divide the total number of numbered squares by this we end up with the number of coloured ones. 14 10 11 12 13 16 15 2 65 3 19 8 4 7
  • 25. The number of coloured squares Our final square count is 16! / 4!x4!x4!x4! = = 63,036,000 20,922,789,888,000 24 x 24 x 24 x 24
  • 26. The number of coloured squares 63,036,000 is still a very big number, more than sixty million, but a lot less than the twenty trillion numbered squares. To put this in perspective, if you tried one a second it would still take 2 years, but not 600,000 years!
  • 27. What have we seen so far Although we have just been counting things, we have actually seen quite a lot of maths: 1. Combinatorics (counting combinations) is important in many areas including probability and physics 2. Factorials such as 15! – they come up everywhere 3. The trick of finding all combinations of something, and then dividing by how many are double counted 4. Making sense of very big numbers