Track Lua
Lua track

Collatz Conjecture

An exercise from the Lua track
easy

About this exercise

Calculate the number of steps to reach 1 using the Collatz conjecture

control flow if else statements
control flow loops
math
View all solutions