1.0.4 • Published 3 years ago
some_math_stuff_for_playing v1.0.4
Just some math fun stuff which was made for playing around with npm while learning it
Functions
The 3x + 1 formula
math_fun_stuff.the3xp1(number);
The above code will return the number of loops the formula will work on the number untill it reaches 1.