Created
June 23, 2023 06:10
-
-
Save sguzman/acafab506948bc4c62724dac38318eb7 to your computer and use it in GitHub Desktop.
My extension of the collatz conjecture to add fix point instead of a orbit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
co[n_Integer /; EvenQ[n]] := co[n] = n / 2 | |
co[n_Integer /; OddQ[n]] := co[n] = 3 n + 1 | |
co[1] = 0 | |
co[0] = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment