SlideShare a Scribd company logo
The Mathematics of
Professor Alan's Puzzle Square
part 4 – other sizes
https://magisoft.co.uk/alan/misc/game/game.html
Puzzles don’t have to be 4x4
Counting
Recall for the 4x4
numbered square
there were 16
choices for the first
tile, 15 for the next,
etc. ending up with
16! Patterns in total.
16 factorial = 16x15x14x13x12x11x10x11x10x9x8x7x6x5x4x3x2x1
Counting numbered squares
The same formula works for other sizes:
size #patterns
2 x 2 4! = 24
3 x 3 9! = 362880
4 x 4 16! = 2.1x1013
5 x 5 25! = 1.6x1025
6 x 6 36! = 3.7x1041
7 x 7 49! = 6.1x1062
8 x 8 64! = 1.3x1089
1 2 3
4 5 6
7 8 9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
43 44 45 46 47 48 49
36 37 38 39 40 41 42
29 30 31 32 33 34 35
22 23 24 25 26 27 28
15 16 17 18 19 20 21
Counting numbered squares
The same formula works for other sizes:
size #patterns
2 x 2 4! = 24
3 x 3 9! = 362880
4 x 4 16! = 2.1x1013
5 x 5 25! = 1.6x1025
6 x 6 36! = 3.7x1041
7 x 7 49! = 6.1x1062
8 x 8 64! = 1.3x1089
1 2 3
4 5 6
7 8 9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
43 44 45 46 47 48 49
36 37 38 39 40 41 42
29 30 31 32 33 34 35
22 23 24 25 26 27 28
15 16 17 18 19 20 21
more than the
number of seconds
since the big bang
more than the
number atoms
in the universe
In summary: N x N number square
(NxN)! possible squares
… and it gets bug very quickly!
(3x3)! (5x5)! (8x8)!
362880 1.6x1025 1.3x1089
1 2 3
4 5 6
7 8 9
1 2 3 4 5
6 7 8 9 10
21 22 23 24 25
16 17 18 19 20
11 12 13 14 15
49 50 51 52 53 54 55
41 42 43 44 45 46 47
33 34 35 36 37 38 39
25 26 27 28 29 30 31
17 18 19 20 21 22 23
9 10 11 12 13 14 15
1 2 3 4 5 6 7
56
48
40
32
24
16
8
57 58 59 60 61 62 63 64
What about plain coloured rows?
? ? ?
Recap 4x4
For the four by four square,
we had (4x4)! numbered
squares and then worked out
how many we would have
double counted for each
colour..
We ended up dividing by 4!
For each of the four colours:
(4x4!)/(4!x4!x4!x4!)
13 10
11
9
15
16
14
4 76
1
312
8
2
5
4
1
32
How many similar?
We can do the same for three
by three thinking about how
many similar patterns of
stickers look the same.
1
2
3
1
3
2
2
1
3
2
3
1
3
2
1
3
1
2
For a 3x3 square this gives us:
1680 – still too many to draw!
9!
3! x 3! x 3!
how many 3x3
numbered
squares
6 ways each to
arrange each of
3 colours
For a 2x2 square (not much of a puzzle):
just 6
yay we can draw them all 
4!
2! x 2!
how many 2x2
numbered
squares
2 ways each to
arrange each of
2 colours
In general for N x N puzzle
(NxN)!
(N!)N
how many NxN
numbered
squares
N! ways each to
arrange each of
N coloursN rows
N columns
Counting coloured squares
Not as big as numbered, but still a lot!
size #patterns
2 x 2 4!/(2!)2 = 6
3 x 3 9! /(3!)3 = 1680
4 x 4 16! /(4!)4 = 6.3x106
5 x 5 25! /(5!)5 = 6.2x1014
6 x 6 36! /(6!)6 = 2.7x1024
7 x 7 49! /(7!)7 = 7.4x1036
8 x 8 64! /(8!)8 = 1.8x1052
Use commutators to simplify, just like 4 x 4
… but with a subtle twist when N is odd
1 2 3
4 5 6
7 8 9
1
2
3
4 2 5 3
4 1 6
7 8 9
Solving different sizes
Not every combination
Although there are
1680 ways to arrange
all the numbers on the
3x3 square, not all of
them are possible
starting with the
original layout and
using the arrows.
1 2 3
4 5 6
7 8 9
Impossible squares
In particular, it is
impossible to get from
the start square to the
position where the first
two tiles have been
swopped.
2 1 3
4 5 6
7 8 9
It turns out
there are exactly
two kinds of 3x3 square.
Half are accessible from
the original square …
and half from the one
with the first two tiles
swopped.
1 2 3
4 5 6
7 8 9
Even and odd
+839
other squares
+839
other squares
2 1 3
4 5 6
7 8 9
The same is true for
a 5x5 square, and
indeed any odd sided
square.
To see why, we will
need a little more
Group Theory …
Even and odd
+31531499
other squares
+31531499
other squares
1 2 3 4 5
6 7 8 9 10
21 22 23 24 25
16 17 18 19 20
11 12 13 14 15
2 1 3 4 5
6 7 8 9 10
21 22 23 24 25
16 17 18 19 20
11 12 13 14 15
Not just more sizes
It seems like all we’ve not done anything new form the
4x4 square, just repeated them, but …
1. This act of generalisation is at the heart of much of
mathematics, computing and philosophy
2. Generalisation helps us see similarities … but also
differences … such as odd and even sided squares
3. Smaller (e.g 3x3) is not always simpler
4. Families of squares (subsets) that cannot be
reached from one another by simple moves

More Related Content

What's hot

Understanding Square Numbers (Lesson 1)
Understanding Square Numbers (Lesson 1) Understanding Square Numbers (Lesson 1)
Understanding Square Numbers (Lesson 1)
jacob_lingley
 
Types of Numbers: Square Numbers
Types of Numbers: Square NumbersTypes of Numbers: Square Numbers
Types of Numbers: Square Numbers
Bridgette Mackey
 
GCSE Foundation Revision Quiz
GCSE Foundation Revision QuizGCSE Foundation Revision Quiz
GCSE Foundation Revision Quiz
Gopala Nadarajan
 
GCSE Linear Starters Higher
GCSE Linear Starters Higher GCSE Linear Starters Higher
GCSE Linear Starters Higher
MethuzelaJones
 
NEG6MathPTPaper.12.06.10.pdf
NEG6MathPTPaper.12.06.10.pdfNEG6MathPTPaper.12.06.10.pdf
NEG6MathPTPaper.12.06.10.pdf
kalelmoisesrubia
 
maths quiz for class ix and x
maths quiz for class ix and xmaths quiz for class ix and x
maths quiz for class ix and x
Har Prasad Patel
 
Multiplication of 3 tripple method
Multiplication of 3 tripple methodMultiplication of 3 tripple method
Multiplication of 3 tripple method
PuworkUtara OnSlideshare
 
Middle school math quiz
Middle school math quizMiddle school math quiz
Middle school math quiz
ITfC-Edu-Team
 
Sudoku
SudokuSudoku
Numbers to 100
Numbers to 100Numbers to 100
Numbers to 100
kungfumath
 
Graphing Points on a Grid
Graphing Points on a GridGraphing Points on a Grid
Graphing Points on a Grid
chinajet08
 
Calculation techniques in numbers
Calculation techniques in numbersCalculation techniques in numbers
Calculation techniques in numbers
sealih
 
ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018
ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018
ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018
Bồi Dưỡng HSG Toán Lớp 3
 
Ecolier 07
Ecolier 07Ecolier 07
Ecolier 07
NDU
 
Shape puzzle
Shape puzzleShape puzzle
Shape puzzle
Karthi Keyan
 
8th gr lesson 9
8th gr lesson 98th gr lesson 9
8th gr lesson 9
sphelps25
 
Numbers to 40
Numbers to 40Numbers to 40
Numbers to 40
kungfumath
 
3a. multiplication, division
3a. multiplication, division3a. multiplication, division
3a. multiplication, division
Dominic Dewey
 
Preparation for chekpoint math paper 1
Preparation for chekpoint math paper 1Preparation for chekpoint math paper 1
Preparation for chekpoint math paper 1
Wina Winarni
 
Alhikmah preparation for checkpoint math paper 2
Alhikmah preparation for checkpoint math paper 2Alhikmah preparation for checkpoint math paper 2
Alhikmah preparation for checkpoint math paper 2
Wina Winarni
 

What's hot (20)

Understanding Square Numbers (Lesson 1)
Understanding Square Numbers (Lesson 1) Understanding Square Numbers (Lesson 1)
Understanding Square Numbers (Lesson 1)
 
Types of Numbers: Square Numbers
Types of Numbers: Square NumbersTypes of Numbers: Square Numbers
Types of Numbers: Square Numbers
 
GCSE Foundation Revision Quiz
GCSE Foundation Revision QuizGCSE Foundation Revision Quiz
GCSE Foundation Revision Quiz
 
GCSE Linear Starters Higher
GCSE Linear Starters Higher GCSE Linear Starters Higher
GCSE Linear Starters Higher
 
NEG6MathPTPaper.12.06.10.pdf
NEG6MathPTPaper.12.06.10.pdfNEG6MathPTPaper.12.06.10.pdf
NEG6MathPTPaper.12.06.10.pdf
 
maths quiz for class ix and x
maths quiz for class ix and xmaths quiz for class ix and x
maths quiz for class ix and x
 
Multiplication of 3 tripple method
Multiplication of 3 tripple methodMultiplication of 3 tripple method
Multiplication of 3 tripple method
 
Middle school math quiz
Middle school math quizMiddle school math quiz
Middle school math quiz
 
Sudoku
SudokuSudoku
Sudoku
 
Numbers to 100
Numbers to 100Numbers to 100
Numbers to 100
 
Graphing Points on a Grid
Graphing Points on a GridGraphing Points on a Grid
Graphing Points on a Grid
 
Calculation techniques in numbers
Calculation techniques in numbersCalculation techniques in numbers
Calculation techniques in numbers
 
ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018
ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018
ĐỀ THI SEAMO - CẤP ĐỘ B (KHỐI 3 + 4) NĂM 2018
 
Ecolier 07
Ecolier 07Ecolier 07
Ecolier 07
 
Shape puzzle
Shape puzzleShape puzzle
Shape puzzle
 
8th gr lesson 9
8th gr lesson 98th gr lesson 9
8th gr lesson 9
 
Numbers to 40
Numbers to 40Numbers to 40
Numbers to 40
 
3a. multiplication, division
3a. multiplication, division3a. multiplication, division
3a. multiplication, division
 
Preparation for chekpoint math paper 1
Preparation for chekpoint math paper 1Preparation for chekpoint math paper 1
Preparation for chekpoint math paper 1
 
Alhikmah preparation for checkpoint math paper 2
Alhikmah preparation for checkpoint math paper 2Alhikmah preparation for checkpoint math paper 2
Alhikmah preparation for checkpoint math paper 2
 

Similar to Other Sizes - Part 4 of The Mathematics of Professor Alan's Puzzle Square

Lattice Multiplication
Lattice MultiplicationLattice Multiplication
Lattice Multiplication
LilianPatrick
 
Fraction
FractionFraction
Fraction
mikealabacus
 
Fraction
FractionFraction
Fraction
mikealabacus
 
pytagoras theorem.pdf
pytagoras theorem.pdfpytagoras theorem.pdf
pytagoras theorem.pdf
RedzOne18
 
Day #1
Day #1Day #1
Math blocks
Math blocksMath blocks
Math blocks
navajomath
 
Math tricks
Math tricksMath tricks
Math tricks
Mohit Singla
 
Remainder theory
Remainder theoryRemainder theory
Remainder theory
Diksha Shivpure
 
Interactive Learning Tool for year 8 mathematics
Interactive Learning Tool for year 8 mathematicsInteractive Learning Tool for year 8 mathematics
Interactive Learning Tool for year 8 mathematics
manoharikalpa
 
G4ww1 4
G4ww1 4G4ww1 4
G4ww1 4
tuananh1010
 
Module 3 topic 2 notes
Module 3 topic 2 notesModule 3 topic 2 notes
Module 3 topic 2 notes
cauleyc
 
Module 3, topic 2 notes
Module 3, topic 2 notesModule 3, topic 2 notes
Module 3, topic 2 notes
Annie cox
 
Tiling
TilingTiling
Tiling
Dave Auckly
 
Brain Teaser Activity_Learning_Game .pptx
Brain Teaser Activity_Learning_Game .pptxBrain Teaser Activity_Learning_Game .pptx
Brain Teaser Activity_Learning_Game .pptx
amandaregua
 
All Problems.pdf
All Problems.pdfAll Problems.pdf
All Problems.pdf
Whitney Anderson
 
Odd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle Square
Odd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle SquareOdd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle Square
Odd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle Square
Alan Dix
 
Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10
nsattler
 
NLC Math 8_I_Lesson 33.pptx
NLC Math 8_I_Lesson 33.pptxNLC Math 8_I_Lesson 33.pptx
NLC Math 8_I_Lesson 33.pptx
HezelGraceAquino1
 
Amazing trick
Amazing trickAmazing trick
Amazing trick
Pawan Mishra
 
Magical Multiplication
Magical MultiplicationMagical Multiplication
Magical Multiplication
krismoonface
 

Similar to Other Sizes - Part 4 of The Mathematics of Professor Alan's Puzzle Square (20)

Lattice Multiplication
Lattice MultiplicationLattice Multiplication
Lattice Multiplication
 
Fraction
FractionFraction
Fraction
 
Fraction
FractionFraction
Fraction
 
pytagoras theorem.pdf
pytagoras theorem.pdfpytagoras theorem.pdf
pytagoras theorem.pdf
 
Day #1
Day #1Day #1
Day #1
 
Math blocks
Math blocksMath blocks
Math blocks
 
Math tricks
Math tricksMath tricks
Math tricks
 
Remainder theory
Remainder theoryRemainder theory
Remainder theory
 
Interactive Learning Tool for year 8 mathematics
Interactive Learning Tool for year 8 mathematicsInteractive Learning Tool for year 8 mathematics
Interactive Learning Tool for year 8 mathematics
 
G4ww1 4
G4ww1 4G4ww1 4
G4ww1 4
 
Module 3 topic 2 notes
Module 3 topic 2 notesModule 3 topic 2 notes
Module 3 topic 2 notes
 
Module 3, topic 2 notes
Module 3, topic 2 notesModule 3, topic 2 notes
Module 3, topic 2 notes
 
Tiling
TilingTiling
Tiling
 
Brain Teaser Activity_Learning_Game .pptx
Brain Teaser Activity_Learning_Game .pptxBrain Teaser Activity_Learning_Game .pptx
Brain Teaser Activity_Learning_Game .pptx
 
All Problems.pdf
All Problems.pdfAll Problems.pdf
All Problems.pdf
 
Odd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle Square
Odd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle SquareOdd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle Square
Odd Permutations - Part 5 of The Mathematics of Professor Alan's Puzzle Square
 
Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10Recreational mathematics for MichMATYC 10 10
Recreational mathematics for MichMATYC 10 10
 
NLC Math 8_I_Lesson 33.pptx
NLC Math 8_I_Lesson 33.pptxNLC Math 8_I_Lesson 33.pptx
NLC Math 8_I_Lesson 33.pptx
 
Amazing trick
Amazing trickAmazing trick
Amazing trick
 
Magical Multiplication
Magical MultiplicationMagical Multiplication
Magical Multiplication
 

More from Alan Dix

AI for HCI – could this be a better title if I’d asked ChatGPT
AI for HCI – could this be a better title if I’d asked ChatGPTAI for HCI – could this be a better title if I’d asked ChatGPT
AI for HCI – could this be a better title if I’d asked ChatGPT
Alan Dix
 
Just Counting – a tool ecosystem for personal numeric information
Just Counting – a tool ecosystem for personal numeric informationJust Counting – a tool ecosystem for personal numeric information
Just Counting – a tool ecosystem for personal numeric information
Alan Dix
 
A flexible QR-code infrastructure for heritage
A flexible QR-code infrastructure for heritageA flexible QR-code infrastructure for heritage
A flexible QR-code infrastructure for heritage
Alan Dix
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
AI and the Humanities – provocations – The Arts, Humanities & Responsible AI...
AI and the Humanities – provocations  – The Arts, Humanities & Responsible AI...AI and the Humanities – provocations  – The Arts, Humanities & Responsible AI...
AI and the Humanities – provocations – The Arts, Humanities & Responsible AI...
Alan Dix
 
Can AI do good? at 'offtheCanvas' India HCI prelude
Can AI do good? at 'offtheCanvas' India HCI preludeCan AI do good? at 'offtheCanvas' India HCI prelude
Can AI do good? at 'offtheCanvas' India HCI prelude
Alan Dix
 
CDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbers
CDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbersCDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbers
CDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbers
Alan Dix
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
 
Human-Centred Artificial Intelligence – Malta 2024
Human-Centred Artificial Intelligence – Malta 2024Human-Centred Artificial Intelligence – Malta 2024
Human-Centred Artificial Intelligence – Malta 2024
Alan Dix
 
The future of UX design support tools - talk Paris March 2024
The future of UX design support tools - talk Paris March 2024The future of UX design support tools - talk Paris March 2024
The future of UX design support tools - talk Paris March 2024
Alan Dix
 
Qualitative–Quantitative reasoning and lightweight numbers
Qualitative–Quantitative reasoning and lightweight numbersQualitative–Quantitative reasoning and lightweight numbers
Qualitative–Quantitative reasoning and lightweight numbers
Alan Dix
 
Invited talk at Diversifying Knowledge Production in HCI
Invited talk at Diversifying Knowledge Production in HCIInvited talk at Diversifying Knowledge Production in HCI
Invited talk at Diversifying Knowledge Production in HCI
Alan Dix
 
Exceptional Experiences for Everyone
Exceptional Experiences for EveryoneExceptional Experiences for Everyone
Exceptional Experiences for Everyone
Alan Dix
 
Inclusivity and AI: opportunity or threat
Inclusivity and AI: opportunity or threatInclusivity and AI: opportunity or threat
Inclusivity and AI: opportunity or threat
Alan Dix
 
Hidden Figures architectural challenges to expose parameters lost in code
Hidden Figures architectural challenges to expose parameters lost in codeHidden Figures architectural challenges to expose parameters lost in code
Hidden Figures architectural challenges to expose parameters lost in code
Alan Dix
 
ChatGPT, Culture and Creativity simulacrum and alterity
ChatGPT, Culture and Creativity simulacrum and alterityChatGPT, Culture and Creativity simulacrum and alterity
ChatGPT, Culture and Creativity simulacrum and alterity
Alan Dix
 
Why pandemics and climate change are hard to understand and make decision mak...
Why pandemics and climate change are hard to understand and make decision mak...Why pandemics and climate change are hard to understand and make decision mak...
Why pandemics and climate change are hard to understand and make decision mak...
Alan Dix
 
Beyond the Wireframe: tools to design, analyse and prototype physical devices
Beyond the Wireframe: tools to design, analyse and prototype physical devicesBeyond the Wireframe: tools to design, analyse and prototype physical devices
Beyond the Wireframe: tools to design, analyse and prototype physical devices
Alan Dix
 
Forever Cyborgs – a long view on physical-digital interaction
Forever Cyborgs – a long view on physical-digital interactionForever Cyborgs – a long view on physical-digital interaction
Forever Cyborgs – a long view on physical-digital interaction
Alan Dix
 

More from Alan Dix (20)

AI for HCI – could this be a better title if I’d asked ChatGPT
AI for HCI – could this be a better title if I’d asked ChatGPTAI for HCI – could this be a better title if I’d asked ChatGPT
AI for HCI – could this be a better title if I’d asked ChatGPT
 
Just Counting – a tool ecosystem for personal numeric information
Just Counting – a tool ecosystem for personal numeric informationJust Counting – a tool ecosystem for personal numeric information
Just Counting – a tool ecosystem for personal numeric information
 
A flexible QR-code infrastructure for heritage
A flexible QR-code infrastructure for heritageA flexible QR-code infrastructure for heritage
A flexible QR-code infrastructure for heritage
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
AI and the Humanities – provocations – The Arts, Humanities & Responsible AI...
AI and the Humanities – provocations  – The Arts, Humanities & Responsible AI...AI and the Humanities – provocations  – The Arts, Humanities & Responsible AI...
AI and the Humanities – provocations – The Arts, Humanities & Responsible AI...
 
Can AI do good? at 'offtheCanvas' India HCI prelude
Can AI do good? at 'offtheCanvas' India HCI preludeCan AI do good? at 'offtheCanvas' India HCI prelude
Can AI do good? at 'offtheCanvas' India HCI prelude
 
CDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbers
CDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbersCDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbers
CDT Away Day Talk: Qualitative–Quantitative reasoning and lightweight numbers
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Human-Centred Artificial Intelligence – Malta 2024
Human-Centred Artificial Intelligence – Malta 2024Human-Centred Artificial Intelligence – Malta 2024
Human-Centred Artificial Intelligence – Malta 2024
 
The future of UX design support tools - talk Paris March 2024
The future of UX design support tools - talk Paris March 2024The future of UX design support tools - talk Paris March 2024
The future of UX design support tools - talk Paris March 2024
 
Qualitative–Quantitative reasoning and lightweight numbers
Qualitative–Quantitative reasoning and lightweight numbersQualitative–Quantitative reasoning and lightweight numbers
Qualitative–Quantitative reasoning and lightweight numbers
 
Invited talk at Diversifying Knowledge Production in HCI
Invited talk at Diversifying Knowledge Production in HCIInvited talk at Diversifying Knowledge Production in HCI
Invited talk at Diversifying Knowledge Production in HCI
 
Exceptional Experiences for Everyone
Exceptional Experiences for EveryoneExceptional Experiences for Everyone
Exceptional Experiences for Everyone
 
Inclusivity and AI: opportunity or threat
Inclusivity and AI: opportunity or threatInclusivity and AI: opportunity or threat
Inclusivity and AI: opportunity or threat
 
Hidden Figures architectural challenges to expose parameters lost in code
Hidden Figures architectural challenges to expose parameters lost in codeHidden Figures architectural challenges to expose parameters lost in code
Hidden Figures architectural challenges to expose parameters lost in code
 
ChatGPT, Culture and Creativity simulacrum and alterity
ChatGPT, Culture and Creativity simulacrum and alterityChatGPT, Culture and Creativity simulacrum and alterity
ChatGPT, Culture and Creativity simulacrum and alterity
 
Why pandemics and climate change are hard to understand and make decision mak...
Why pandemics and climate change are hard to understand and make decision mak...Why pandemics and climate change are hard to understand and make decision mak...
Why pandemics and climate change are hard to understand and make decision mak...
 
Beyond the Wireframe: tools to design, analyse and prototype physical devices
Beyond the Wireframe: tools to design, analyse and prototype physical devicesBeyond the Wireframe: tools to design, analyse and prototype physical devices
Beyond the Wireframe: tools to design, analyse and prototype physical devices
 
Forever Cyborgs – a long view on physical-digital interaction
Forever Cyborgs – a long view on physical-digital interactionForever Cyborgs – a long view on physical-digital interaction
Forever Cyborgs – a long view on physical-digital interaction
 

Recently uploaded

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 

Recently uploaded (20)

MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 

Other Sizes - Part 4 of The Mathematics of Professor Alan's Puzzle Square

  • 1. The Mathematics of Professor Alan's Puzzle Square part 4 – other sizes https://magisoft.co.uk/alan/misc/game/game.html
  • 3. Counting Recall for the 4x4 numbered square there were 16 choices for the first tile, 15 for the next, etc. ending up with 16! Patterns in total. 16 factorial = 16x15x14x13x12x11x10x11x10x9x8x7x6x5x4x3x2x1
  • 4. Counting numbered squares The same formula works for other sizes: size #patterns 2 x 2 4! = 24 3 x 3 9! = 362880 4 x 4 16! = 2.1x1013 5 x 5 25! = 1.6x1025 6 x 6 36! = 3.7x1041 7 x 7 49! = 6.1x1062 8 x 8 64! = 1.3x1089 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 43 44 45 46 47 48 49 36 37 38 39 40 41 42 29 30 31 32 33 34 35 22 23 24 25 26 27 28 15 16 17 18 19 20 21
  • 5. Counting numbered squares The same formula works for other sizes: size #patterns 2 x 2 4! = 24 3 x 3 9! = 362880 4 x 4 16! = 2.1x1013 5 x 5 25! = 1.6x1025 6 x 6 36! = 3.7x1041 7 x 7 49! = 6.1x1062 8 x 8 64! = 1.3x1089 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 43 44 45 46 47 48 49 36 37 38 39 40 41 42 29 30 31 32 33 34 35 22 23 24 25 26 27 28 15 16 17 18 19 20 21 more than the number of seconds since the big bang more than the number atoms in the universe
  • 6. In summary: N x N number square (NxN)! possible squares … and it gets bug very quickly! (3x3)! (5x5)! (8x8)! 362880 1.6x1025 1.3x1089 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 21 22 23 24 25 16 17 18 19 20 11 12 13 14 15 49 50 51 52 53 54 55 41 42 43 44 45 46 47 33 34 35 36 37 38 39 25 26 27 28 29 30 31 17 18 19 20 21 22 23 9 10 11 12 13 14 15 1 2 3 4 5 6 7 56 48 40 32 24 16 8 57 58 59 60 61 62 63 64
  • 7. What about plain coloured rows? ? ? ?
  • 8. Recap 4x4 For the four by four square, we had (4x4)! numbered squares and then worked out how many we would have double counted for each colour.. We ended up dividing by 4! For each of the four colours: (4x4!)/(4!x4!x4!x4!) 13 10 11 9 15 16 14 4 76 1 312 8 2 5 4 1 32
  • 9. How many similar? We can do the same for three by three thinking about how many similar patterns of stickers look the same. 1 2 3 1 3 2 2 1 3 2 3 1 3 2 1 3 1 2
  • 10. For a 3x3 square this gives us: 1680 – still too many to draw! 9! 3! x 3! x 3! how many 3x3 numbered squares 6 ways each to arrange each of 3 colours
  • 11. For a 2x2 square (not much of a puzzle): just 6 yay we can draw them all  4! 2! x 2! how many 2x2 numbered squares 2 ways each to arrange each of 2 colours
  • 12. In general for N x N puzzle (NxN)! (N!)N how many NxN numbered squares N! ways each to arrange each of N coloursN rows N columns
  • 13. Counting coloured squares Not as big as numbered, but still a lot! size #patterns 2 x 2 4!/(2!)2 = 6 3 x 3 9! /(3!)3 = 1680 4 x 4 16! /(4!)4 = 6.3x106 5 x 5 25! /(5!)5 = 6.2x1014 6 x 6 36! /(6!)6 = 2.7x1024 7 x 7 49! /(7!)7 = 7.4x1036 8 x 8 64! /(8!)8 = 1.8x1052
  • 14. Use commutators to simplify, just like 4 x 4 … but with a subtle twist when N is odd 1 2 3 4 5 6 7 8 9 1 2 3 4 2 5 3 4 1 6 7 8 9 Solving different sizes
  • 15. Not every combination Although there are 1680 ways to arrange all the numbers on the 3x3 square, not all of them are possible starting with the original layout and using the arrows. 1 2 3 4 5 6 7 8 9
  • 16. Impossible squares In particular, it is impossible to get from the start square to the position where the first two tiles have been swopped. 2 1 3 4 5 6 7 8 9
  • 17. It turns out there are exactly two kinds of 3x3 square. Half are accessible from the original square … and half from the one with the first two tiles swopped. 1 2 3 4 5 6 7 8 9 Even and odd +839 other squares +839 other squares 2 1 3 4 5 6 7 8 9
  • 18. The same is true for a 5x5 square, and indeed any odd sided square. To see why, we will need a little more Group Theory … Even and odd +31531499 other squares +31531499 other squares 1 2 3 4 5 6 7 8 9 10 21 22 23 24 25 16 17 18 19 20 11 12 13 14 15 2 1 3 4 5 6 7 8 9 10 21 22 23 24 25 16 17 18 19 20 11 12 13 14 15
  • 19. Not just more sizes It seems like all we’ve not done anything new form the 4x4 square, just repeated them, but … 1. This act of generalisation is at the heart of much of mathematics, computing and philosophy 2. Generalisation helps us see similarities … but also differences … such as odd and even sided squares 3. Smaller (e.g 3x3) is not always simpler 4. Families of squares (subsets) that cannot be reached from one another by simple moves