Q. If and are the roots of the quadratic equation where are integers and is prime then the value of equals

 2369  116 Inverse Trigonometric Functions Report Error

Solution:

.
Hence the quadratic equation whose roots are and .