Skip to content

๐Ÿ“ˆ Simple collatz conjecture visualisation using React and chart.js

Notifications You must be signed in to change notification settings

BahAilime/collatz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Collatz conjecture visualisation

The Collatz conjecture concerns sequences of integers in which each term is obtained from the previous term as follows:

  • If the previous term is even, the next term is one half of the previous term.
  • If the previous term is odd, the next term is 3 times the previous term plus 1.

The conjecture is that these sequences always reach 1, no matter which positive integer is chosen to start the sequence.

Made with

  • React v17.0.2
  • Chart.js 3.5
    • react-chartjs-2 v4.0.1
    • chartjs-plugin-zoom 1.2.0
  • Icons from icones8.fr

About

๐Ÿ“ˆ Simple collatz conjecture visualisation using React and chart.js

Topics

Resources

Stars

Watchers

Forks