SlideShare a Scribd company logo
1 of 2
Summing the Squares of a Number's Digits Some Examples : 92, 85, 89, 145, 42, 20, 4, 16, 37, 58, 89, 145, 42, 20, 4 135, 35, 34, 25, 29, 85, 89, 145, 42, 20, 4 49, 97, 130, 10, 1, 1 70, 49, 97, 130, 10, 1 Notation:  s ( n ) = sum of the squares of the digits of  n . s (9999) = 324. Let’s look at the spreadsheet (how do we do this on a spreadsheet?)
Theorem 1:  For each natural number  n  < 10000,  s ( s ( s ( s ( s ( s (  s ( n )   )))))) equals 1 or 4 after a  finite number of compositions of the function  s  with itself. Proof:   s ( n )    324 for each natural number  n  < 10000. And, we verified by inspection (spreadsheet) that for all  n     324,  s ( s ( s ( s ( s ( s (  s ( n )   )))))) equals 1 or 4 after a finite number of compositions of the function  s  with itself. Theorem 2:  For each natural number  n ,  s ( s ( s ( s ( s ( s (  s ( n )   )))))) equals 1 or 4 after a finite number of compositions of the function  s  with itself. To Do:  Prove Lemma 1 and Theorem 2 and do Exercises 1 and 2.

More Related Content

What's hot

Root Locus Plot
Root Locus Plot Root Locus Plot
Root Locus Plot Hussain K
 
Rabin karp string matching algorithm
Rabin karp string matching algorithmRabin karp string matching algorithm
Rabin karp string matching algorithmGajanand Sharma
 
lecture 6
lecture 6lecture 6
lecture 6sajinsc
 
Grade 11, U1A-L4, Motion Equations
Grade 11, U1A-L4, Motion EquationsGrade 11, U1A-L4, Motion Equations
Grade 11, U1A-L4, Motion Equationsgruszecki1
 
String Matching (Naive,Rabin-Karp,KMP)
String Matching (Naive,Rabin-Karp,KMP)String Matching (Naive,Rabin-Karp,KMP)
String Matching (Naive,Rabin-Karp,KMP)Aditya pratap Singh
 
Convergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootConvergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootKeigo Nitadori
 
9th class Physics problems 2.1, 2.2
9th class Physics problems 2.1, 2.29th class Physics problems 2.1, 2.2
9th class Physics problems 2.1, 2.2Muhammad Zeeshan
 
AS3/ Expt-g/ Lucifer
AS3/ Expt-g/ LuciferAS3/ Expt-g/ Lucifer
AS3/ Expt-g/ LuciferRama Chandra
 
2021 preTEST5A Final Review Packet!
2021 preTEST5A Final Review Packet!2021 preTEST5A Final Review Packet!
2021 preTEST5A Final Review Packet!A Jorge Garcia
 
Grade 11, U1C-L1, Vector Comp
Grade 11, U1C-L1, Vector CompGrade 11, U1C-L1, Vector Comp
Grade 11, U1C-L1, Vector Compgruszecki1
 
Quiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Quiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT KanpurQuiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Quiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT KanpurVivekananda Samiti
 

What's hot (20)

Root Locus Plot
Root Locus Plot Root Locus Plot
Root Locus Plot
 
Aa1
Aa1Aa1
Aa1
 
Rabin karp string matcher
Rabin karp string matcherRabin karp string matcher
Rabin karp string matcher
 
2020 preTEST5A
2020 preTEST5A2020 preTEST5A
2020 preTEST5A
 
25 String Matching
25 String Matching25 String Matching
25 String Matching
 
Rabin karp string matching algorithm
Rabin karp string matching algorithmRabin karp string matching algorithm
Rabin karp string matching algorithm
 
Bode plot
Bode plotBode plot
Bode plot
 
lecture 6
lecture 6lecture 6
lecture 6
 
Grade 11, U1A-L4, Motion Equations
Grade 11, U1A-L4, Motion EquationsGrade 11, U1A-L4, Motion Equations
Grade 11, U1A-L4, Motion Equations
 
String Matching (Naive,Rabin-Karp,KMP)
String Matching (Naive,Rabin-Karp,KMP)String Matching (Naive,Rabin-Karp,KMP)
String Matching (Naive,Rabin-Karp,KMP)
 
Convergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootConvergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-root
 
bode_plot By DEV
 bode_plot By DEV bode_plot By DEV
bode_plot By DEV
 
9th class Physics problems 2.1, 2.2
9th class Physics problems 2.1, 2.29th class Physics problems 2.1, 2.2
9th class Physics problems 2.1, 2.2
 
laws of exponents
laws of exponentslaws of exponents
laws of exponents
 
AS3/ Expt-g/ Lucifer
AS3/ Expt-g/ LuciferAS3/ Expt-g/ Lucifer
AS3/ Expt-g/ Lucifer
 
Truss Formulas
Truss FormulasTruss Formulas
Truss Formulas
 
2021 preTEST5A Final Review Packet!
2021 preTEST5A Final Review Packet!2021 preTEST5A Final Review Packet!
2021 preTEST5A Final Review Packet!
 
1988 FRQs AP Calculus
1988 FRQs AP Calculus1988 FRQs AP Calculus
1988 FRQs AP Calculus
 
Grade 11, U1C-L1, Vector Comp
Grade 11, U1C-L1, Vector CompGrade 11, U1C-L1, Vector Comp
Grade 11, U1C-L1, Vector Comp
 
Quiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Quiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT KanpurQuiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
Quiz3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
 

Viewers also liked

5.1 start of the_cold_war
5.1 start of the_cold_war5.1 start of the_cold_war
5.1 start of the_cold_warmeglan12
 
Genç kalemler hikaye yarışması
Genç kalemler hikaye yarışmasıGenç kalemler hikaye yarışması
Genç kalemler hikaye yarışmasıskskultur
 
03.匈牙利旅遊筆記
03.匈牙利旅遊筆記03.匈牙利旅遊筆記
03.匈牙利旅遊筆記溫秀嬌
 
Marmaris ticaret odası i̇çin projeler
Marmaris ticaret odası i̇çin projelerMarmaris ticaret odası i̇çin projeler
Marmaris ticaret odası i̇çin projelerIsmail Özbozdağ
 
信息产品设计
信息产品设计信息产品设计
信息产品设计Tisa Fu
 
Referencias automaticas en pdf
Referencias automaticas en pdfReferencias automaticas en pdf
Referencias automaticas en pdfDAVID RIAÑO
 
李明远 产品经理是怎么炼成的
李明远 产品经理是怎么炼成的李明远 产品经理是怎么炼成的
李明远 产品经理是怎么炼成的flash_swc
 
Génération INC. Pour que votre croissance soit payante
Génération INC. Pour que votre croissance soit payanteGénération INC. Pour que votre croissance soit payante
Génération INC. Pour que votre croissance soit payanteGenerationINC
 
8287494393@ flat for rent in dwarka sector
8287494393@ flat for rent in dwarka sector8287494393@ flat for rent in dwarka sector
8287494393@ flat for rent in dwarka sectorArti Singh
 
Learning And Teaching About The Impact Of Medicalisation
Learning And Teaching About The Impact Of MedicalisationLearning And Teaching About The Impact Of Medicalisation
Learning And Teaching About The Impact Of Medicalisationguest2003a54a
 
Economic systems thinking_23_07_10
Economic systems thinking_23_07_10Economic systems thinking_23_07_10
Economic systems thinking_23_07_10ChrisJCook
 
Bells Palsy Part 2
Bells Palsy Part 2Bells Palsy Part 2
Bells Palsy Part 2lemonandie
 
自我介绍
自我介绍自我介绍
自我介绍tiantia
 
Peluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in Turchia
Peluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in TurchiaPeluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in Turchia
Peluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in TurchiaProgetto Open Téchne
 

Viewers also liked (20)

5.1 start of the_cold_war
5.1 start of the_cold_war5.1 start of the_cold_war
5.1 start of the_cold_war
 
Genç kalemler hikaye yarışması
Genç kalemler hikaye yarışmasıGenç kalemler hikaye yarışması
Genç kalemler hikaye yarışması
 
Winrar
WinrarWinrar
Winrar
 
Equipo Cronica azalpena
Equipo Cronica azalpenaEquipo Cronica azalpena
Equipo Cronica azalpena
 
03.匈牙利旅遊筆記
03.匈牙利旅遊筆記03.匈牙利旅遊筆記
03.匈牙利旅遊筆記
 
Marmaris ticaret odası i̇çin projeler
Marmaris ticaret odası i̇çin projelerMarmaris ticaret odası i̇çin projeler
Marmaris ticaret odası i̇çin projeler
 
Street art
Street art Street art
Street art
 
Re pd
Re pdRe pd
Re pd
 
信息产品设计
信息产品设计信息产品设计
信息产品设计
 
Ankabis
AnkabisAnkabis
Ankabis
 
Referencias automaticas en pdf
Referencias automaticas en pdfReferencias automaticas en pdf
Referencias automaticas en pdf
 
李明远 产品经理是怎么炼成的
李明远 产品经理是怎么炼成的李明远 产品经理是怎么炼成的
李明远 产品经理是怎么炼成的
 
Génération INC. Pour que votre croissance soit payante
Génération INC. Pour que votre croissance soit payanteGénération INC. Pour que votre croissance soit payante
Génération INC. Pour que votre croissance soit payante
 
8287494393@ flat for rent in dwarka sector
8287494393@ flat for rent in dwarka sector8287494393@ flat for rent in dwarka sector
8287494393@ flat for rent in dwarka sector
 
Learning And Teaching About The Impact Of Medicalisation
Learning And Teaching About The Impact Of MedicalisationLearning And Teaching About The Impact Of Medicalisation
Learning And Teaching About The Impact Of Medicalisation
 
Economic systems thinking_23_07_10
Economic systems thinking_23_07_10Economic systems thinking_23_07_10
Economic systems thinking_23_07_10
 
Bells Palsy Part 2
Bells Palsy Part 2Bells Palsy Part 2
Bells Palsy Part 2
 
自我介绍
自我介绍自我介绍
自我介绍
 
Peluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in Turchia
Peluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in TurchiaPeluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in Turchia
Peluso R., Ipotesi ricostruttiva della via colonnata di Kyme eolica in Turchia
 
Oteiza
OteizaOteiza
Oteiza
 

Similar to Summing the squares of a number's digits

A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...Jialin LIU
 
DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..KarthikeyaLanka1
 
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridgealproelearning
 
Sequence and series 02
Sequence and series 02Sequence and series 02
Sequence and series 02manrak
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptAngelle Pantig
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptGIDEONPAUL13
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptJosephMuez2
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptreboy_arroyo
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdfnassorokayanda9412
 
asymptotic notations i
asymptotic notations iasymptotic notations i
asymptotic notations iAli mahmood
 
Algorithm chapter 2
Algorithm chapter 2Algorithm chapter 2
Algorithm chapter 2chidabdu
 
chapter1.pdf ......................................
chapter1.pdf ......................................chapter1.pdf ......................................
chapter1.pdf ......................................nourhandardeer3
 
Arithmetic sequences (1).ppt
Arithmetic sequences (1).pptArithmetic sequences (1).ppt
Arithmetic sequences (1).pptDeepaIyer32
 
The Mathematics of RSA Encryption
The Mathematics of RSA EncryptionThe Mathematics of RSA Encryption
The Mathematics of RSA EncryptionNathan F. Dunn
 
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docxeugeniadean34240
 

Similar to Summing the squares of a number's digits (20)

A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
A Mathematically Derived Number of Resamplings for Noisy Optimization (GECCO2...
 
DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..
 
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge6.sequences and series   Further Mathematics Zimbabwe Zimsec Cambridge
6.sequences and series Further Mathematics Zimbabwe Zimsec Cambridge
 
Sequences
SequencesSequences
Sequences
 
Sequence and series 02
Sequence and series 02Sequence and series 02
Sequence and series 02
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.ppt
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.ppt
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.ppt
 
Arithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.pptArithmetic Sequences and Series-Boger.ppt
Arithmetic Sequences and Series-Boger.ppt
 
Applied 40S May 28, 2009
Applied 40S May 28, 2009Applied 40S May 28, 2009
Applied 40S May 28, 2009
 
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
3.-SEQUENCES-AND-SERIES-THEORY.hhsssspdf
 
dynamic-programming
dynamic-programmingdynamic-programming
dynamic-programming
 
asymptotic notations i
asymptotic notations iasymptotic notations i
asymptotic notations i
 
Algorithm chapter 2
Algorithm chapter 2Algorithm chapter 2
Algorithm chapter 2
 
chapter1.pdf ......................................
chapter1.pdf ......................................chapter1.pdf ......................................
chapter1.pdf ......................................
 
Arithmetic sequences (1).ppt
Arithmetic sequences (1).pptArithmetic sequences (1).ppt
Arithmetic sequences (1).ppt
 
Presentation4
Presentation4Presentation4
Presentation4
 
L16
L16L16
L16
 
The Mathematics of RSA Encryption
The Mathematics of RSA EncryptionThe Mathematics of RSA Encryption
The Mathematics of RSA Encryption
 
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
270-102-divide-and-conquer_handout.pdfCS 270Algorithm.docx
 

More from goldenratio618

584 fundamental theorem of calculus
584 fundamental theorem of calculus584 fundamental theorem of calculus
584 fundamental theorem of calculusgoldenratio618
 
Summing squares of digits lemma proof
Summing squares of digits lemma proofSumming squares of digits lemma proof
Summing squares of digits lemma proofgoldenratio618
 
Sine and cosine of sum
Sine and cosine of sumSine and cosine of sum
Sine and cosine of sumgoldenratio618
 

More from goldenratio618 (8)

584 fundamental theorem of calculus
584 fundamental theorem of calculus584 fundamental theorem of calculus
584 fundamental theorem of calculus
 
303B Section 12.4
303B Section 12.4303B Section 12.4
303B Section 12.4
 
Perfect shuffles
Perfect shufflesPerfect shuffles
Perfect shuffles
 
Summing squares of digits lemma proof
Summing squares of digits lemma proofSumming squares of digits lemma proof
Summing squares of digits lemma proof
 
Heron's formula
Heron's formulaHeron's formula
Heron's formula
 
Sine and cosine of sum
Sine and cosine of sumSine and cosine of sum
Sine and cosine of sum
 
Two trig identities
Two trig identitiesTwo trig identities
Two trig identities
 
303B Section 09.1
303B Section 09.1303B Section 09.1
303B Section 09.1
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Summing the squares of a number's digits

  • 1. Summing the Squares of a Number's Digits Some Examples : 92, 85, 89, 145, 42, 20, 4, 16, 37, 58, 89, 145, 42, 20, 4 135, 35, 34, 25, 29, 85, 89, 145, 42, 20, 4 49, 97, 130, 10, 1, 1 70, 49, 97, 130, 10, 1 Notation: s ( n ) = sum of the squares of the digits of n . s (9999) = 324. Let’s look at the spreadsheet (how do we do this on a spreadsheet?)
  • 2. Theorem 1: For each natural number n < 10000, s ( s ( s ( s ( s ( s (  s ( n )  )))))) equals 1 or 4 after a finite number of compositions of the function s with itself. Proof: s ( n )  324 for each natural number n < 10000. And, we verified by inspection (spreadsheet) that for all n  324, s ( s ( s ( s ( s ( s (  s ( n )  )))))) equals 1 or 4 after a finite number of compositions of the function s with itself. Theorem 2: For each natural number n , s ( s ( s ( s ( s ( s (  s ( n )  )))))) equals 1 or 4 after a finite number of compositions of the function s with itself. To Do: Prove Lemma 1 and Theorem 2 and do Exercises 1 and 2.