Consider the equation x2+4x−n=0, where n∈[20,100] is a natural number. Then the number of all distinct values of n, for which the given equation has integral roots, is equal to
Solutions · 1
Official solution
\[x2+4x−n=0 has integer roots ⇒x=2−4±16+4n=−2±4+n\]
For x to be integer 4+n must be perfect squares
\[n∈[20,100]n+4∈[24,104]=S\]
{25,36,…102}∈S⇒52,62,…102⇒6 values of n