Let p be a prime number. The quadratic equation having its roots as factors of p is
(2)
Factors of p=p×1
∴ Roots are p and 1.
The quadratic equation is:
x2-(sum of roots)x+product of roots=0
⇒x2-(p+1)x+p=0