Red frog jumps
Blue frog jumps

Where do both frogs land first (after 0)? That number is the LCM.