Click the flag to generate a new randomized list Use the sliders or press S to set the variables @photopolaraccoustic 's Instructions: The list will be filled with a number of random positive integers when the green flag is pressed. Create a custom block that finds the lowest common multiple of the items. Assume that the list may be infinitely long! Your block must set the output variable to the LCM of the numbers in the list.
Surprisingly, I don't use the 200,000 item list limit in this codegolf. I just set a variable to 1, and then count up by 1. I then check to see if the numbers in the list divide into the variable. If they all divide into it, that's the LCM we're looking for and the project terminates. If not, it just keeps counting up :)