Given is the equation: \[x^2+mx+2022=0\]a) Find all the values of the parameter $m$, such that the two solutions of the equation $x_1, x_2$ are $\textbf{natural}$ numbers b)Find all the values of the parameter $m$, such that the two solutions of the equation $x_1, x_2$ are $\textbf{integer}$ numbers
Problem
Source: Bulgarian Autumn Tournament 2022 9.1
Tags: parametric equation, Vieta, algebra, polynomial