Given a quadratic equation 64x2+5nx+1=0 has no real roots, so
D<0
⇒25N2−4×64<0
⇒N<516⇒N=1,2,3
And, For a biased coin, the probability of getting head is P=41, and probability of getting tail will be Q=43
So, required probability is
41+43⋅41+(43)2⋅41+(43)3⋅41=qp
⇒1−(43)41(1−(43)3)=qp
⇒1−(43)3=qp
⇒1−6427=qp
⇒qp=6437
q−p=27