Question: How do I collect values from a do loop?

My procedure produces multiple different values for the same variable which is fine but I need a way of finding the lowest common multiple of all of the values. Is there a way to do this? Every time I try to do it, Maple gives me the last value it calculated.

Please Wait...