Let a be a positive integer with a>1, f(a) be a polynomial of a with nonnegative integer coefficients, and f(1)=2rp+4, where r is a positive integer with r>1, p=2l-1 is a Mersenne prime. In this paper, the finiteness of positive integer solution (x,n) of the equation
(a-1)x2+f(a)=4an
is discussed, and prove that if f(a)=91a+9, then the equation has only the positive integer solutions (x,n)=(3,3), (11,3) and (3,4) for a=5,7 and 25 respectively.