SlideShare a Scribd company logo
1 of 26
Download to read offline
1 / 26
Won(1)drous Numbers
Copyright Howard Smith
smithhn@gmail.com
v5
2 / 26
Won(1)drous Numbers
●
A simple mathematical rule
– That takes 1 minute to learn and only uses simple
arithmetic
●
That anyone can understand (8 to 80)
– Every child shown becomes curious and motivated to fnd
out what’s going on
●
That when repeated generates interesting, mind bending,
sequences
●
That always end in 1 (unproved)
●
Generating tree and other interesting visualisations
●
Stimulating a host of both very simple and deep, questions
– Primary school, GCSE, A-levels, Degree, Phd
3 / 26
The rule
●
Start with a positive whole number (integer)
– If the number is even, divide it by 2
– If the number is odd, multiply it by 3 and add 1
●
Repeat
●
Example
12 6 3 10 5 16 8 4 2 1→ → → → → → → → →
4 / 26
Questions for the class
●
Try diferent starting numbers?
●
Do all sequences end with 1?
●
How many numbers would you have to try?
●
Why do you think this is?
●
Do you think it could proved?
●
Why do some numbers generate much longer
sequences than others?
5 / 26
Classroom competition
●
The children work alone or in teams
●
Try choosing their own starting number
●
They call out if they think they have generated
– The longest sequence
– The shortest sequence
– The biggest number in the sequence
6 / 26
Let’s think about what is
happening
Spot the mistake
7 / 26
Challenge 2
●
A race to fnd the frst number, below 30, to
generate a sequence of over 100 numbers
●
What is the length of the sequence?
●
What height (the biggest number) does the
sequence reach?
– That’s an unusual number, don’t you think?
8 / 26
Loops
●
When you get to 4 the sequence is 4 2 1, but 1 is
odd, so multiply by 3 and add 1=4, a loop
– 4 2 1 4 2 1 … forever (infnite)
●
Do you think there could be other loops that
might prevent a fall to 1?
●
How might we go about fnding other loops?
9 / 26
3n+1 Classroom session
●
Individually or in groups
– Lay out, on small cards, the numbers 1 to 100
– Pick a starting number and start crossing of numbers in
the sequence
– Pick a new starting number … immediately you come across
a number that was crossed of you know it will fall to 1 and
so you don’t need to repeat that
– Repeat until everything is crossed of
– If a number generated exceeds 100, make up a card for it
●
The exercise could be performed using a number grid rather
than cards
10 / 26
3N+1 Visualisation session
●
Individual or group group
●
Lay out cards on the foor to
build up the tree
●
Give each a set of blank
cards on which they write
the next, or preceding,
number
●
Cards must join to cards
already laid down
●
The mess will gradually
evolve to the tree
11 / 26
One child asked these
questions after building a tree
●
“Does every number in the world
sit somewhere in the tree?”
●
“Why are some branches longer
than others?”
●
“What’s special about the numbers
where there is a new branch?”
●
“Are even numbers generating
longer branches?”
●
“Do the sequences have a pattern?”
●
“Is it really like a real tree?”
12 / 26
Forwards and backwards
●
When frst introduced to the rule the child works forwards, applying the rule to one
number and generating another
●
To build the tree, it helps to work backwards, fnding the number that would generate
the next number
– This introduces the child to thinking about the reverse of the rule
23
70 35
●
If you know this number its easy to go forward, just apply the rule
●
It’s harder for the child to go backwards
●
Can they see it? When they do, they have taken a big step forward
140
13 / 26
Walks
●
For there to be a number that does not end in 1,
it must forever walk around all other numbers,
avoiding any number that does end in 1
●
The walk would have to be of infnite length
●
Is that possible do you think?
14 / 26
The problem is easily coded
●
Test for odd and even
●
Calculate the next in the sequence
●
Input a start number, output (print)
the next
●
Iteration until answer = 1, stop
●
While iterating, count the length of
the sequence
●
While iterating, track of the highest
in the sequence
●
Output the starting number, height
and length
●
Build up the code in stages
15 / 26
Scratch or Python could be
used
●
Previously the child has been
applying the rule themselves, in
their head or using a basic
calculator
●
They learn that a computer can
help
●
They learn that the rules they know
can be given to the computer
●
This allows them to experiment
with the problem much faster
●
They start to use the computer to
add to their tree
16 / 26
More coding ideas
●
Think about creative ways to visualise 3N+1
– Plot numbers against the lengths of sequences
generated
– Plot numbers against the highest number
generated in their sequence
17 / 26
Imagine other ways to visualise
the sequences
18 / 26
Deeper questions
●
Why do some numbers appear frequently in the
sequences generated?
●
Is there a formula L=F(N) that can predict the
length of the sequence generated from the
starting number?
●
Is there a formula H=F(N) that can predict the
height of the sequence generated?
19 / 26
More visualisation ideas
●
Plot the frequencies of numbers appearing in
sequences
●
Plot the frequencies of lengths of sequences
●
Plot the frequencies of heights of sequences
20 / 26
A 3N+1 Coding Competition
●
In school or inter-school competition
●
Who can fnd, and therefore prove, the highest
number that drops to 1?
– Using a computer
– Proof to include code and sequence generated
●
Harder than it sounds due to computing time
and resources required
21 / 26
Background
●
The 3n+1 problem is also
known as
– The Collatz conjecture
– The Ulam conjecture
– Kakutani’s problem
– Thwaite’s problem
– Hasse’s algorithm
– The Syracuse problem
●
Hailstone numbers, of which
there are variations
●
Paul Erdős [2004] said about
the Collatz conjecture:
"Mathematics may not be ready
for such problems." He also
ofered $5500 for its solution.
●
Jefrey Lagarias [2010] claimed
that based only on known
information about this
problem, "this is an
extraordinarily difcult
problem, completely out of
reach of present day
mathematics."
22 / 26
Look what people are doing
with this to try to understand it
http://community.wolfram.com/groups/-/m/t/558256
This is basically a procedure which takes
n=2000 random numbers up to
max=200000000, calculates the Collatz
sequence for each of them and then turns
each sequence into a curve using the
AnglePath command: starting with 1, if the
current number is even, it turns
counterclockwise and if odd, it turns
clockwise (the numbers in these sequences
are mostly even, so I had to balance out the
angles a bit so that on average the
trajectories don't turn into a big spiral), and
the length of the step decreases like a
power of the number (1.2 in the picture).
You can see that some paths repeat many
times and most of the sequences at some
point coalesce with one of these "thick"
paths. More over, most (if not all) of the
smaller paths approach the thicker paths
from a particular side (I wonder what that
means).
23 / 26
APPENDIX - CODING
24 / 26
Python coding
●
Trinket.io
– Web based IDE, used by CodeClub
– Share code easily (remix)
– Also supports Scratch
●
Pycharm from JetBrains
– Free community edition IDE
– Windows, Mac, Linux
25 / 26
Example code
26 / 26
Contact details
●
smithhn@gmail.com

More Related Content

What's hot

Westmere maths parent evening
Westmere maths parent eveningWestmere maths parent evening
Westmere maths parent eveningWestmere School
 
Parent math session 2 and 3
Parent math session 2 and 3Parent math session 2 and 3
Parent math session 2 and 3Westmere School
 
Representing decimals
Representing decimalsRepresenting decimals
Representing decimalsmpshoe
 
Place Value, Multiplication, Division
Place Value, Multiplication, Division Place Value, Multiplication, Division
Place Value, Multiplication, Division susan70
 
Module 3 Lesson 13
Module 3 Lesson 13Module 3 Lesson 13
Module 3 Lesson 13NRWEG3
 
Math fluency for all students ppt
Math fluency for all students pptMath fluency for all students ppt
Math fluency for all students pptLaura Chambless
 
First New Teachers' Conference, Manila, 10 September 2011
First New Teachers' Conference, Manila, 10 September 2011First New Teachers' Conference, Manila, 10 September 2011
First New Teachers' Conference, Manila, 10 September 2011Jimmy Keng
 
Grade 2 addition and subtraction
Grade 2 addition and subtractionGrade 2 addition and subtraction
Grade 2 addition and subtractionsusan70
 
measures of position - grade 10 math
measures of position - grade 10 mathmeasures of position - grade 10 math
measures of position - grade 10 mathrobengie monera
 
To Be Numerate
To Be NumerateTo Be Numerate
To Be Numerategerry21
 
3rd grade multiplication final product
3rd grade multiplication final product3rd grade multiplication final product
3rd grade multiplication final productDanielle Rubin
 
Add and subtract
Add and subtractAdd and subtract
Add and subtractthighsmi
 
LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011
LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011
LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011Jimmy Keng
 
September 22, 2014
September 22, 2014September 22, 2014
September 22, 2014khyps13
 
Multiplication & division teaching ideas
Multiplication & division teaching ideasMultiplication & division teaching ideas
Multiplication & division teaching ideasJoanne Villis
 
Multimedia Presentation: Two digit by Two-digit Multiplication
Multimedia Presentation: Two digit by Two-digit MultiplicationMultimedia Presentation: Two digit by Two-digit Multiplication
Multimedia Presentation: Two digit by Two-digit Multiplicationgfifield
 
Innovative work 1
Innovative work 1Innovative work 1
Innovative work 1GREESHMAPR
 
Mult Div Strategy Meeting[1]
Mult Div Strategy Meeting[1]Mult Div Strategy Meeting[1]
Mult Div Strategy Meeting[1]jobee597
 

What's hot (20)

1st Grade Mx Nov 09
1st Grade Mx Nov 091st Grade Mx Nov 09
1st Grade Mx Nov 09
 
Westmere maths parent evening
Westmere maths parent eveningWestmere maths parent evening
Westmere maths parent evening
 
Parent math session 2 and 3
Parent math session 2 and 3Parent math session 2 and 3
Parent math session 2 and 3
 
Representing decimals
Representing decimalsRepresenting decimals
Representing decimals
 
Unit 4 lesson 17
Unit 4 lesson 17Unit 4 lesson 17
Unit 4 lesson 17
 
Place Value, Multiplication, Division
Place Value, Multiplication, Division Place Value, Multiplication, Division
Place Value, Multiplication, Division
 
Module 3 Lesson 13
Module 3 Lesson 13Module 3 Lesson 13
Module 3 Lesson 13
 
Math fluency for all students ppt
Math fluency for all students pptMath fluency for all students ppt
Math fluency for all students ppt
 
First New Teachers' Conference, Manila, 10 September 2011
First New Teachers' Conference, Manila, 10 September 2011First New Teachers' Conference, Manila, 10 September 2011
First New Teachers' Conference, Manila, 10 September 2011
 
Grade 2 addition and subtraction
Grade 2 addition and subtractionGrade 2 addition and subtraction
Grade 2 addition and subtraction
 
measures of position - grade 10 math
measures of position - grade 10 mathmeasures of position - grade 10 math
measures of position - grade 10 math
 
To Be Numerate
To Be NumerateTo Be Numerate
To Be Numerate
 
3rd grade multiplication final product
3rd grade multiplication final product3rd grade multiplication final product
3rd grade multiplication final product
 
Add and subtract
Add and subtractAdd and subtract
Add and subtract
 
LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011
LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011
LEAP Educators' Conference 2011, Manila, The Philippines, 11 - 12 February 2011
 
September 22, 2014
September 22, 2014September 22, 2014
September 22, 2014
 
Multiplication & division teaching ideas
Multiplication & division teaching ideasMultiplication & division teaching ideas
Multiplication & division teaching ideas
 
Multimedia Presentation: Two digit by Two-digit Multiplication
Multimedia Presentation: Two digit by Two-digit MultiplicationMultimedia Presentation: Two digit by Two-digit Multiplication
Multimedia Presentation: Two digit by Two-digit Multiplication
 
Innovative work 1
Innovative work 1Innovative work 1
Innovative work 1
 
Mult Div Strategy Meeting[1]
Mult Div Strategy Meeting[1]Mult Div Strategy Meeting[1]
Mult Div Strategy Meeting[1]
 

Similar to Wondrous Numbers

Crypt inst-guide
Crypt inst-guideCrypt inst-guide
Crypt inst-guidenavajomath
 
Number sentences j villis
Number sentences j villisNumber sentences j villis
Number sentences j villisJoanne Villis
 
Presentation Math Workshop#May 25th New Help our teachers understa...
Presentation Math Workshop#May 25th New            Help our teachers understa...Presentation Math Workshop#May 25th New            Help our teachers understa...
Presentation Math Workshop#May 25th New Help our teachers understa...guest80c0981
 
Multiplication and division
Multiplication and divisionMultiplication and division
Multiplication and divisionSara Shiel
 
Math Presentation
Math PresentationMath Presentation
Math PresentationSmart Ed
 
Mathpresentation 170503073857 (1)
Mathpresentation 170503073857 (1)Mathpresentation 170503073857 (1)
Mathpresentation 170503073857 (1)JohnReyLaureano
 
Maths Presentation (Bahrain 11.03.2017)
Maths Presentation (Bahrain 11.03.2017)Maths Presentation (Bahrain 11.03.2017)
Maths Presentation (Bahrain 11.03.2017)Smart Ed
 
The Power of Sudoku
The Power of SudokuThe Power of Sudoku
The Power of SudokuKent Sipes
 
Math Toolkit Time
Math Toolkit TimeMath Toolkit Time
Math Toolkit TimeSmart Ed
 
INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...
INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...
INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...SOURAV DAS
 
1) sequences -_leap_frog
1) sequences -_leap_frog1) sequences -_leap_frog
1) sequences -_leap_frogharlie90
 
Module-3-PSMM.docx
Module-3-PSMM.docxModule-3-PSMM.docx
Module-3-PSMM.docxNeilsy2
 
Hidden Path - Content Standards
Hidden Path - Content StandardsHidden Path - Content Standards
Hidden Path - Content StandardsKrista Leh
 
Empty Number Line
Empty Number LineEmpty Number Line
Empty Number Linejwalts
 

Similar to Wondrous Numbers (20)

Crypt inst-guide
Crypt inst-guideCrypt inst-guide
Crypt inst-guide
 
Number sentences j villis
Number sentences j villisNumber sentences j villis
Number sentences j villis
 
Presentation Math Workshop#May 25th New Help our teachers understa...
Presentation Math Workshop#May 25th New            Help our teachers understa...Presentation Math Workshop#May 25th New            Help our teachers understa...
Presentation Math Workshop#May 25th New Help our teachers understa...
 
Multiplication and division
Multiplication and divisionMultiplication and division
Multiplication and division
 
Numeracy Oct 23 -Denise Flick
Numeracy Oct 23 -Denise FlickNumeracy Oct 23 -Denise Flick
Numeracy Oct 23 -Denise Flick
 
Math Presentation
Math PresentationMath Presentation
Math Presentation
 
Mathpresentation 170503073857 (1)
Mathpresentation 170503073857 (1)Mathpresentation 170503073857 (1)
Mathpresentation 170503073857 (1)
 
Math magazine group project
Math magazine group projectMath magazine group project
Math magazine group project
 
Maths Presentation (Bahrain 11.03.2017)
Maths Presentation (Bahrain 11.03.2017)Maths Presentation (Bahrain 11.03.2017)
Maths Presentation (Bahrain 11.03.2017)
 
Ece141day8class
Ece141day8classEce141day8class
Ece141day8class
 
The Power of Sudoku
The Power of SudokuThe Power of Sudoku
The Power of Sudoku
 
Math Toolkit Time
Math Toolkit TimeMath Toolkit Time
Math Toolkit Time
 
INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...
INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...
INTERVIEW TIPS HOW TO TACKLE SOFT SKILLS INTELLIGENT AND SMART ANSWERS BY SOU...
 
1) sequences -_leap_frog
1) sequences -_leap_frog1) sequences -_leap_frog
1) sequences -_leap_frog
 
Y5 t2u8d1 4
Y5 t2u8d1 4Y5 t2u8d1 4
Y5 t2u8d1 4
 
Module-3-PSMM.docx
Module-3-PSMM.docxModule-3-PSMM.docx
Module-3-PSMM.docx
 
Vedic addition
Vedic additionVedic addition
Vedic addition
 
Hidden Path - Content Standards
Hidden Path - Content StandardsHidden Path - Content Standards
Hidden Path - Content Standards
 
Empty Number Line
Empty Number LineEmpty Number Line
Empty Number Line
 
Introduction
IntroductionIntroduction
Introduction
 

Recently uploaded

ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTXALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTXDole Philippines School
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationColumbia Weather Systems
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)riyaescorts54
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...D. B. S. College Kanpur
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentationtahreemzahra82
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxMurugaveni B
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx023NiWayanAnggiSriWa
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRlizamodels9
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfSELF-EXPLANATORY
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...Universidade Federal de Sergipe - UFS
 
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingNetHelix
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPirithiRaju
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPirithiRaju
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayupadhyaymani499
 
preservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxpreservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxnoordubaliya2003
 

Recently uploaded (20)

ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTXALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
ALL ABOUT MIXTURES IN GRADE 7 CLASS PPTX
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather Station
 
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
(9818099198) Call Girls In Noida Sector 14 (NOIDA ESCORTS)
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentation
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyay
 
preservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxpreservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptx
 

Wondrous Numbers

  • 1. 1 / 26 Won(1)drous Numbers Copyright Howard Smith smithhn@gmail.com v5
  • 2. 2 / 26 Won(1)drous Numbers ● A simple mathematical rule – That takes 1 minute to learn and only uses simple arithmetic ● That anyone can understand (8 to 80) – Every child shown becomes curious and motivated to fnd out what’s going on ● That when repeated generates interesting, mind bending, sequences ● That always end in 1 (unproved) ● Generating tree and other interesting visualisations ● Stimulating a host of both very simple and deep, questions – Primary school, GCSE, A-levels, Degree, Phd
  • 3. 3 / 26 The rule ● Start with a positive whole number (integer) – If the number is even, divide it by 2 – If the number is odd, multiply it by 3 and add 1 ● Repeat ● Example 12 6 3 10 5 16 8 4 2 1→ → → → → → → → →
  • 4. 4 / 26 Questions for the class ● Try diferent starting numbers? ● Do all sequences end with 1? ● How many numbers would you have to try? ● Why do you think this is? ● Do you think it could proved? ● Why do some numbers generate much longer sequences than others?
  • 5. 5 / 26 Classroom competition ● The children work alone or in teams ● Try choosing their own starting number ● They call out if they think they have generated – The longest sequence – The shortest sequence – The biggest number in the sequence
  • 6. 6 / 26 Let’s think about what is happening Spot the mistake
  • 7. 7 / 26 Challenge 2 ● A race to fnd the frst number, below 30, to generate a sequence of over 100 numbers ● What is the length of the sequence? ● What height (the biggest number) does the sequence reach? – That’s an unusual number, don’t you think?
  • 8. 8 / 26 Loops ● When you get to 4 the sequence is 4 2 1, but 1 is odd, so multiply by 3 and add 1=4, a loop – 4 2 1 4 2 1 … forever (infnite) ● Do you think there could be other loops that might prevent a fall to 1? ● How might we go about fnding other loops?
  • 9. 9 / 26 3n+1 Classroom session ● Individually or in groups – Lay out, on small cards, the numbers 1 to 100 – Pick a starting number and start crossing of numbers in the sequence – Pick a new starting number … immediately you come across a number that was crossed of you know it will fall to 1 and so you don’t need to repeat that – Repeat until everything is crossed of – If a number generated exceeds 100, make up a card for it ● The exercise could be performed using a number grid rather than cards
  • 10. 10 / 26 3N+1 Visualisation session ● Individual or group group ● Lay out cards on the foor to build up the tree ● Give each a set of blank cards on which they write the next, or preceding, number ● Cards must join to cards already laid down ● The mess will gradually evolve to the tree
  • 11. 11 / 26 One child asked these questions after building a tree ● “Does every number in the world sit somewhere in the tree?” ● “Why are some branches longer than others?” ● “What’s special about the numbers where there is a new branch?” ● “Are even numbers generating longer branches?” ● “Do the sequences have a pattern?” ● “Is it really like a real tree?”
  • 12. 12 / 26 Forwards and backwards ● When frst introduced to the rule the child works forwards, applying the rule to one number and generating another ● To build the tree, it helps to work backwards, fnding the number that would generate the next number – This introduces the child to thinking about the reverse of the rule 23 70 35 ● If you know this number its easy to go forward, just apply the rule ● It’s harder for the child to go backwards ● Can they see it? When they do, they have taken a big step forward 140
  • 13. 13 / 26 Walks ● For there to be a number that does not end in 1, it must forever walk around all other numbers, avoiding any number that does end in 1 ● The walk would have to be of infnite length ● Is that possible do you think?
  • 14. 14 / 26 The problem is easily coded ● Test for odd and even ● Calculate the next in the sequence ● Input a start number, output (print) the next ● Iteration until answer = 1, stop ● While iterating, count the length of the sequence ● While iterating, track of the highest in the sequence ● Output the starting number, height and length ● Build up the code in stages
  • 15. 15 / 26 Scratch or Python could be used ● Previously the child has been applying the rule themselves, in their head or using a basic calculator ● They learn that a computer can help ● They learn that the rules they know can be given to the computer ● This allows them to experiment with the problem much faster ● They start to use the computer to add to their tree
  • 16. 16 / 26 More coding ideas ● Think about creative ways to visualise 3N+1 – Plot numbers against the lengths of sequences generated – Plot numbers against the highest number generated in their sequence
  • 17. 17 / 26 Imagine other ways to visualise the sequences
  • 18. 18 / 26 Deeper questions ● Why do some numbers appear frequently in the sequences generated? ● Is there a formula L=F(N) that can predict the length of the sequence generated from the starting number? ● Is there a formula H=F(N) that can predict the height of the sequence generated?
  • 19. 19 / 26 More visualisation ideas ● Plot the frequencies of numbers appearing in sequences ● Plot the frequencies of lengths of sequences ● Plot the frequencies of heights of sequences
  • 20. 20 / 26 A 3N+1 Coding Competition ● In school or inter-school competition ● Who can fnd, and therefore prove, the highest number that drops to 1? – Using a computer – Proof to include code and sequence generated ● Harder than it sounds due to computing time and resources required
  • 21. 21 / 26 Background ● The 3n+1 problem is also known as – The Collatz conjecture – The Ulam conjecture – Kakutani’s problem – Thwaite’s problem – Hasse’s algorithm – The Syracuse problem ● Hailstone numbers, of which there are variations ● Paul Erdős [2004] said about the Collatz conjecture: "Mathematics may not be ready for such problems." He also ofered $5500 for its solution. ● Jefrey Lagarias [2010] claimed that based only on known information about this problem, "this is an extraordinarily difcult problem, completely out of reach of present day mathematics."
  • 22. 22 / 26 Look what people are doing with this to try to understand it http://community.wolfram.com/groups/-/m/t/558256 This is basically a procedure which takes n=2000 random numbers up to max=200000000, calculates the Collatz sequence for each of them and then turns each sequence into a curve using the AnglePath command: starting with 1, if the current number is even, it turns counterclockwise and if odd, it turns clockwise (the numbers in these sequences are mostly even, so I had to balance out the angles a bit so that on average the trajectories don't turn into a big spiral), and the length of the step decreases like a power of the number (1.2 in the picture). You can see that some paths repeat many times and most of the sequences at some point coalesce with one of these "thick" paths. More over, most (if not all) of the smaller paths approach the thicker paths from a particular side (I wonder what that means).
  • 23. 23 / 26 APPENDIX - CODING
  • 24. 24 / 26 Python coding ● Trinket.io – Web based IDE, used by CodeClub – Share code easily (remix) – Also supports Scratch ● Pycharm from JetBrains – Free community edition IDE – Windows, Mac, Linux
  • 26. 26 / 26 Contact details ● smithhn@gmail.com