Skip to content
#

collatz-problem

Here are 55 public repositories matching this topic...

Collatz Sequence is a sequence in which after initial value (n) the next value is n/2 if n is even or 3n+1 if n is odd. The sequence continues until the value is 1. In this program the user can either input a value, see the sequence and its length or user can see the longest Collatz Sequence with an initial value that is under 1 million. The que…

  • Updated Sep 20, 2021
  • Python

Improve this page

Add a description, image, and links to the collatz-problem topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the collatz-problem topic, visit your repo's landing page and select "manage topics."

Learn more