x2+y2−6x−10y+p=0
∴ Centre is (3,5) and radius is 34−p.
∵(1,4) lies inside the circle.
So, 1+16−6−40+p<0
⇒p<29...(1)
Circle neither touches nor cut the coordinate axes.
So, radius of circle 34−p<5 (for not touching x− axis ) and 34−p<3 (for not touching y−axis)
⇒9<p and 25<p
⇒p>25...(2)
From equations (1)&(2),
So, p∈(25,29)