We perform the linear transformation (x,y)→(x−y,x+y), which has the reverse transformation (a,b)→(2a+b,2b−a). Then the equivalent problem has a parabola has a vertical axis of symmetry, goes through A=(0,200), a point B=(u,v) in S′={(x,y)∣x+y>0,x>y,y<200,x,y∈Z, and x≡ymod2} and a new vertex W=(w,0) on y=0 with w even. Then (1−wu)2=200v. The only way the RHS can be the square of a rational number is if wu=10v′ where v=2(10−v′)2. Since v is even, we can find conditions so that u,w are both even: v′∈{1,3,7,9}⟹(2v′)∣u,20∣w, v′∈{2,4,6,8}⟹v′∣u,10∣w, v′=5⟹2∣u,4∣w. It follows that any parabola that goes through v′∈{3,7,9} has a point with v′=1, and any parabola that goes through v′∈{4,6,8} has a point with v′=2. We then count the following parabolas: - The number of parabolas going through (2k,162), where k is a nonzero integer with ∣2k∣<162. - The number of parabolas going through (2k,128) not already counted, where k is a nonzero integer with ∣2k∣<128. (Note that this passes through (k,162).) - The number of parabolas going through (2k,50) not already counted, where k is a nonzero integer with ∣2k∣<50. (Note that this passes through (52k,162), and any overlap must have been counted in the first case.) The number of solutions is then 2(80+21⋅64+54⋅25)=264.