ScratchData LogoScratchData
Back to advantage666's profile

3x+1

ADadvantage666•Created January 19, 2022
3x+1
0
0
2 views
View on Scratch

Instructions

IMPORTANT: This does not work for negative numbers. here is how it works: *if the number is even, it is divided by 2 *if the number is odd, it is multiplied by 3, and 1 is added to the product. The beauty in this is that the number always comes back to 4-2-1 loop

Description

originally discovered by Lothar Collatz inspired by Veritasium's video (https://www.youtube.com/watch?v=094y1Z2wpJg&t) about this topic

Project Details

Project ID630400483
CreatedJanuary 19, 2022
Last ModifiedSeptember 19, 2024
SharedJanuary 19, 2022
Visibilityvisible
CommentsAllowed