# Find the least common multiple of x^2+x-12 and x^2+2x-15

Input |
---|

lcm(x^2 + x – 12, x^2 + 2 x – 15) |

Alternate form |

lcm((x – 3) (x + 4), (x – 3) (x + 5)) |

Alternative representation |

lcm(x^2 + x – 12, x^2 + 2 x – 15) = ((x^2 + x – 12) (x^2 + 2 x – 15))/(gcd(x^2 + x – 12, x^2 + 2 x – 15)) for (x + x^2 element Z and x + x^2>12 and x (2 + x) element Z and x (2 + x)>15) |