What is the shortest length of cable that can be cut into either a whole number of 18-ft pieces or a whole number of 30-ft pieces?

1 answer

That would just be the LCM of 18 and 30

18 = 2*3*3
30 = 2*3*5

so we need 2*3*3*5 = ....