Question: How do you get a polynomial that satisfies this condition

If I want to get an irreducible polynomial with root sqrt(5) and minimum degree, I can use:

MinimalPolynomial(sqrt(5), x)

But what if I want this irreducible polynomial of the minimum degree to have roots in both sqrt(2), sqrt(3), and sqrt(5)? How do I get this polynomial?

ps: The coefficients are all integers

Please Wait...