Multiples of 8: 8, 16, 24, 32, 40, 48, 56, …
Multiples of 40: 40, …
LCM(8, 40) = 40
Multiples of 40: 40, …
LCM(8, 40) = 40
The solution above and all other related solutions were provided by the Least Common Multiple by Listing Multiples Application.