CodingTrain / CodingTrain/Suggestion-Box

Collatz Conjecture Visualization

Open
#151 1 comment 9 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

The Collatz Conjecture states a simple maths algorithm:
1. Take any number and call it _a_
2. If _a_ is even, then set _a_ equal to _a / 2_. Otherwise, if _a_ is odd, then set _a_ equal to _3a + 1_
3. Repeat step 2

This trivial problem is famous because it has never been proven if every plotted integer converges to 1. You could do a problem that desings a tree starting with 1 and building its way up.

Further Reading:
http://swimmingthestyx.com/?p=447
https://www.jasondavies.com/collatz-graph/
https://en.wikipedia.org/wiki/Collatz_conjecture#In_reverse
http://mathematica.stackexchange.com/questions/85718/trying-to-visualize-the-collatz-conjecture

It seemed easy until I started programming it.

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files, tests, or entry point are identified. Start by reviewing the linked Collatz visualization references and determine where a tree starting with 1 would fit in this suggestion-only repository. Done means the visualization scope and implementation location are established, with the reverse Collatz tree represented as described.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.