doytnr
(doytnr)
#1
I’ve decided to make the Collatz Conjecture, often known as 3x + 1 in Roblox lua in the most efficient way I could.
Function Inputs
cc(integer,recall)
The recall value is a function that will receive the result of the integer within the Collatz Conjecture Calculator per index.
Module link
1 Like
doytnr
(doytnr)
#2
If you’ve got complaints, suggestions or ideas on what I should do next, feel free to reply!
BizzarBlitz
(BizzarBlitz)
#3
The module link redirects to the Wikipedia article for the Collatz Conjecture instead of the actual module
doytnr
(doytnr)
#4
Ah sorry, just realised that!
Updated it to link to the module!
doytnr
(doytnr)
#5
To add in - Once the index’s value hits 1, it’s stopped to prevent a 1 → 4 → 2 → 1 loop.
This is pretty cool, but how would this be useful for developing?
1 Like
doytnr
(doytnr)
#7
It can be adjusted to act as noise