Solved jumping-bunnies. Could use gcd to calc lcd, but used prime
factorization instead.