SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Using C Programming Language to
prove the Collatz Conjecture for
extremely large numbers
By: Yused Valentina Rodríguez
American Military Academy
Mentor: Joseph Colón
Assistant mentor: Valerie Ann
Carrasquillo
Universidad Metropolitana
Bio-Mathemathics
Outline
Abstract Slide 3
Introduction Slide 4
Study Area Slide 5
Procedure Slide 6
Results Slides 7 and 8
Proposition Slides 9 and 10
Conclusion Slide 11
Future Works Slide 12
References Slide 13
Acknowledgements Slide 14
Abstract
The Collatz Conjecture, also known as the 3n+1 theory, is
an unproven theory proposed by Lothar Collatz. It states that by
using two simple functions (3n+1 for odd numbers and n/2 for
even numbers), the outcome will ultimately be 1. This project
involves using a different method to demonstrate the validity of
said Conjecture. The goal of this investigation is to use C
Programming Language, a general-purpose programming
language, and a specific pseudo code made for this experiment in
particular, to demonstrate the Collatz Conjecture with extremely
large numbers. The chosen numbers will be tested on a high-
functioning computer equipped with precise programming to see
if they are, or they’re not, solutions to the Conjecture.
Introduction
Study Area
Procedure
1. Understand C Programming Language.
2. Create a working pseudocode for the Collatz
Conjecture.
3. Turn the pseudocode into a source code.
4. Test code.
5. Record findings.
Results
Results
Iterations for 112 Iterations for 75
Proposition
For the code to properly run with the overly large
numbers , a mechanism that divides the number into equal, or
similar, parts will be developed and placed to work alongside the
code.
This mechanism is also known as “parallel computing”,
which means that the different parts of the number will be
worked on simultaneously as if they were single numbers.
After the process is done to the segments of the number,
each segment will be put side by side to create the total outcome
of the original large number.
Future Works
In the future, I hope to pursue further study in Bio-Mathematics
and Programming, and run the code developed in this
investigation with extremely large numbers on a super computer.
Conclusions
After analyzing the Collatz Conjecture, a code was made
that could run a number and apply the functions to determine
whether or not that number stayed true to the Conjecture. But due
to the immensity of the numbers, a mechanism to divide them
into parts and work with those segments individually was
created. Said mechanism will be applied with the code to the
Collatz Conjecture in a further investigation.
References
• C Tutorial. (n.d.). - Learn C. Retrieved March 15, 2014, from
http://www.cprogramming.com/tutorial/c-tutorial.html
• C Tutorial – for loop, while loop, break and continue. (n.d.).
CodingUnit Programming Tutorials. Retrieved March 15,
2014, from http://www.codingunit.com/c-tutorial-for-loop-
while-loop-break-and-continue
• C Tutorial – printf, Format Specifiers, Format Conversions
and Formatted Output. (n.d.). CodingUnit Programming
Tutorials. Retrieved March 15, 2014, from
http://www.codingunit.com/printf-format-specifiers-format-
conversions-and-formatted-output
Acknowledgements
• Dr. Juan F. Arratia
– Executive Director of
Student Research Development Center
• Wanda Rodriguez
– IM Coordinator
• Joseph Colón Villers
– Mentor
• Valerie Ann Carrasquillo
– Assistant Mentor
• AGMUS Institute of Mathematics
Thank you

Weitere ähnliche Inhalte

Was ist angesagt?

Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
Ali Usman
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
Genie Rose Santos
 
The history of calculus
The history of calculusThe history of calculus
The history of calculus
pouline16
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
Ali Usman
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequences
Dreams4school
 
Slides Chapter10.1 10.2
Slides Chapter10.1 10.2Slides Chapter10.1 10.2
Slides Chapter10.1 10.2
showslidedump
 
Analysis sequences and bounded sequences
Analysis sequences and bounded sequencesAnalysis sequences and bounded sequences
Analysis sequences and bounded sequences
SANDEEP VISHANG DAGAR
 
Lesson 16 The Spectral Theorem and Applications
Lesson 16  The Spectral Theorem and ApplicationsLesson 16  The Spectral Theorem and Applications
Lesson 16 The Spectral Theorem and Applications
Matthew Leingang
 

Was ist angesagt? (20)

INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT
 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
 
Continuity of a Function
Continuity of a Function Continuity of a Function
Continuity of a Function
 
Predicates and Quantifiers
Predicates and Quantifiers Predicates and Quantifiers
Predicates and Quantifiers
 
Angles of Elevation and Depression -cot.pptx
Angles of Elevation and Depression -cot.pptxAngles of Elevation and Depression -cot.pptx
Angles of Elevation and Depression -cot.pptx
 
Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Lesson 4: Calcuating Limits (slides)
Lesson 4: Calcuating Limits (slides)Lesson 4: Calcuating Limits (slides)
Lesson 4: Calcuating Limits (slides)
 
History Of Math
History Of MathHistory Of Math
History Of Math
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
 
Fundamental counting principle powerpoint
Fundamental counting principle powerpointFundamental counting principle powerpoint
Fundamental counting principle powerpoint
 
The history of calculus
The history of calculusThe history of calculus
The history of calculus
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
 
Calculus
CalculusCalculus
Calculus
 
Mathematics for the 21st Century
Mathematics for the 21st CenturyMathematics for the 21st Century
Mathematics for the 21st Century
 
Arithmetic and geometric_sequences
Arithmetic and geometric_sequencesArithmetic and geometric_sequences
Arithmetic and geometric_sequences
 
5.3 Graphs of Polynomial Functions
5.3 Graphs of Polynomial Functions5.3 Graphs of Polynomial Functions
5.3 Graphs of Polynomial Functions
 
Slides Chapter10.1 10.2
Slides Chapter10.1 10.2Slides Chapter10.1 10.2
Slides Chapter10.1 10.2
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 
Analysis sequences and bounded sequences
Analysis sequences and bounded sequencesAnalysis sequences and bounded sequences
Analysis sequences and bounded sequences
 
Lesson 16 The Spectral Theorem and Applications
Lesson 16  The Spectral Theorem and ApplicationsLesson 16  The Spectral Theorem and Applications
Lesson 16 The Spectral Theorem and Applications
 

Ähnlich wie Collatz Conjecture Research

Aad introduction
Aad introductionAad introduction
Aad introduction
Mr SMAK
 
Producer consumer-problems
Producer consumer-problemsProducer consumer-problems
Producer consumer-problems
Richard Ashworth
 
PPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYPPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORY
butest
 
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docxPaper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
aman341480
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
Dhaval Kaneria
 
Cupdf.com introduction to-data-structures-and-algorithm
Cupdf.com introduction to-data-structures-and-algorithmCupdf.com introduction to-data-structures-and-algorithm
Cupdf.com introduction to-data-structures-and-algorithm
TarikuDabala1
 
CMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docx
CMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docxCMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docx
CMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docx
monicafrancis71118
 
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docxPaper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
mosyrettcc
 
Brian Klumpe Unification of Producer Consumer Key Pairs
Brian Klumpe Unification of Producer Consumer Key PairsBrian Klumpe Unification of Producer Consumer Key Pairs
Brian Klumpe Unification of Producer Consumer Key Pairs
Brian_Klumpe
 

Ähnlich wie Collatz Conjecture Research (20)

Aad introduction
Aad introductionAad introduction
Aad introduction
 
Probability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdfProbability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdf
 
Producer consumer-problems
Producer consumer-problemsProducer consumer-problems
Producer consumer-problems
 
Scientific calculator project in c language
Scientific calculator project in c languageScientific calculator project in c language
Scientific calculator project in c language
 
PPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORYPPT slides - MACHINE PERCEPTION LABORATORY
PPT slides - MACHINE PERCEPTION LABORATORY
 
Discrete structure ch 3 short question's
Discrete structure ch 3 short question'sDiscrete structure ch 3 short question's
Discrete structure ch 3 short question's
 
XML Considered Harmful
XML Considered HarmfulXML Considered Harmful
XML Considered Harmful
 
Model checking
Model checkingModel checking
Model checking
 
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docxPaper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
 
Introduction to data structures and Algorithm
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
 
Cupdf.com introduction to-data-structures-and-algorithm
Cupdf.com introduction to-data-structures-and-algorithmCupdf.com introduction to-data-structures-and-algorithm
Cupdf.com introduction to-data-structures-and-algorithm
 
Harmful interupts
Harmful interuptsHarmful interupts
Harmful interupts
 
CMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docx
CMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docxCMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docx
CMIS 102 Hands-On Lab Week 4OverviewThis hands-on lab all.docx
 
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docxPaper Analysis Essay The 5-page Paper You Submit Must At L.docx
Paper Analysis Essay The 5-page Paper You Submit Must At L.docx
 
Daa chapter 1
Daa chapter 1Daa chapter 1
Daa chapter 1
 
Pseudo-Random Number Generators: A New Approach
Pseudo-Random Number Generators: A New ApproachPseudo-Random Number Generators: A New Approach
Pseudo-Random Number Generators: A New Approach
 
educational course/tutorialoutlet.com
educational course/tutorialoutlet.comeducational course/tutorialoutlet.com
educational course/tutorialoutlet.com
 
A01
A01A01
A01
 
Brian Klumpe Unification of Producer Consumer Key Pairs
Brian Klumpe Unification of Producer Consumer Key PairsBrian Klumpe Unification of Producer Consumer Key Pairs
Brian Klumpe Unification of Producer Consumer Key Pairs
 

Collatz Conjecture Research

  • 1. Using C Programming Language to prove the Collatz Conjecture for extremely large numbers By: Yused Valentina Rodríguez American Military Academy Mentor: Joseph Colón Assistant mentor: Valerie Ann Carrasquillo Universidad Metropolitana Bio-Mathemathics
  • 2. Outline Abstract Slide 3 Introduction Slide 4 Study Area Slide 5 Procedure Slide 6 Results Slides 7 and 8 Proposition Slides 9 and 10 Conclusion Slide 11 Future Works Slide 12 References Slide 13 Acknowledgements Slide 14
  • 3. Abstract The Collatz Conjecture, also known as the 3n+1 theory, is an unproven theory proposed by Lothar Collatz. It states that by using two simple functions (3n+1 for odd numbers and n/2 for even numbers), the outcome will ultimately be 1. This project involves using a different method to demonstrate the validity of said Conjecture. The goal of this investigation is to use C Programming Language, a general-purpose programming language, and a specific pseudo code made for this experiment in particular, to demonstrate the Collatz Conjecture with extremely large numbers. The chosen numbers will be tested on a high- functioning computer equipped with precise programming to see if they are, or they’re not, solutions to the Conjecture.
  • 6. Procedure 1. Understand C Programming Language. 2. Create a working pseudocode for the Collatz Conjecture. 3. Turn the pseudocode into a source code. 4. Test code. 5. Record findings.
  • 8. Results Iterations for 112 Iterations for 75
  • 9. Proposition For the code to properly run with the overly large numbers , a mechanism that divides the number into equal, or similar, parts will be developed and placed to work alongside the code. This mechanism is also known as “parallel computing”, which means that the different parts of the number will be worked on simultaneously as if they were single numbers. After the process is done to the segments of the number, each segment will be put side by side to create the total outcome of the original large number.
  • 10.
  • 11. Future Works In the future, I hope to pursue further study in Bio-Mathematics and Programming, and run the code developed in this investigation with extremely large numbers on a super computer.
  • 12. Conclusions After analyzing the Collatz Conjecture, a code was made that could run a number and apply the functions to determine whether or not that number stayed true to the Conjecture. But due to the immensity of the numbers, a mechanism to divide them into parts and work with those segments individually was created. Said mechanism will be applied with the code to the Collatz Conjecture in a further investigation.
  • 13. References • C Tutorial. (n.d.). - Learn C. Retrieved March 15, 2014, from http://www.cprogramming.com/tutorial/c-tutorial.html • C Tutorial – for loop, while loop, break and continue. (n.d.). CodingUnit Programming Tutorials. Retrieved March 15, 2014, from http://www.codingunit.com/c-tutorial-for-loop- while-loop-break-and-continue • C Tutorial – printf, Format Specifiers, Format Conversions and Formatted Output. (n.d.). CodingUnit Programming Tutorials. Retrieved March 15, 2014, from http://www.codingunit.com/printf-format-specifiers-format- conversions-and-formatted-output
  • 14. Acknowledgements • Dr. Juan F. Arratia – Executive Director of Student Research Development Center • Wanda Rodriguez – IM Coordinator • Joseph Colón Villers – Mentor • Valerie Ann Carrasquillo – Assistant Mentor • AGMUS Institute of Mathematics