If x=49 satisfies the equation logax2−x+2>loga−x2+2x+3), then the sum of all possible distinct values of [x] is (where [.] represents the greatest integer function) _____.
logax2−x+2>loga−x2+2x+3
Putting x=49,loga14281>loga29981∵ 14281<29981 or 0<a<1 logax2−x+2>log2−x2+2x+3
gives 0<x2−x+2<−x2+2x+3
or x2−x+2>0 and 2x2−3x−1<0
or 3−174<x<3+174