When we were in school they taught us the highest common denominator and the lowest common multiple.
Are 1 to 30 integers for which the lowest common multiple is to be calculated.