Code Monkey home page Code Monkey logo

collatz-conjecture's Introduction

The Collatz Conjecture, also known as the 3n+1 Conjecture, is an unsolved mathematical problem that has intrigued mathematicians for many years. Proposed by German mathematician Lothar Collatz in 1937, it is a simple iterative process that involves repeatedly applying a particular algorithm to a positive integer.

The conjecture states that for any positive integer n, the sequence obtained by repeatedly applying the following rules will eventually reach the value 1:

If n is even, divide it by 2. If n is odd, multiply it by 3 and add 1. For example, starting with the number 6, the sequence would be 6, 3, 10, 5, 16, 8, 4, 2, 1. Despite the simplicity of the rules, the Collatz Conjecture remains an open question, as no counterexamples have been found.

Mathematicians have extensively tested the conjecture using computers, and it holds for an enormous range of numbers. However, due to the exponential growth of the sequence, it becomes increasingly difficult to prove that it holds for all numbers.

The Collatz Conjecture is a fascinating problem in the field of number theory and has attracted significant attention from mathematicians worldwide. Its simplicity, coupled with its unsolved nature, makes it an intriguing puzzle that continues to captivate mathematicians and researchers to this day.

You can view The pdfs for the number sets here:

You can also view the images for the number sets here:

Link to Repo

Link to Site

collatz-conjecture's People

Contributors

krishna20072007 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.