// Computes least common multiple.
Computes least common multiple.
// Computes least common multiple .
func LCM(x, y *big.Int) *big.Int {
	n := new(big.Int)
	n.Mul(x, y)
	d := new(big.Int)
	d.GCD(nil, nil, x, y)
	t := new(big.Int)
	t.Div(n, d)
	return t
}
func LCM ( x , y * big . Int ) * big . Int { n := new ( big . Int ) n . Mul ( x , y ) d := new ( big . Int ) d . GCD ( nil , nil , x , y ) t := new ( big . Int ) t . Div ( n , d ) return t }
Computes least common multiple.
Computes least common multiple .