26. Let the coordinates of point B be (a, 0), where a is an integer.
Then bring the coordinates a and b into the linear equation y=kx+b to get:
The analytical formula of straight line AB is y=(-4/a)x+4. Let's see:
When a= 1, the straight line is y=-4x+4. Because the whole point on the triangle boundary doesn't count, there is no qualified point at this time.
When a=2, the straight line y=-2x+4, and the whole point is only (1,1);
When a=3, the straight line is y=(-4/3)x+4, and the whole point is: (1, 1), (1, 2), (2, 1), * * 3;
When a=4, the straight line is y=-x+4, and the whole point is: (1, 1), (1, 2), (2, 1), * * 3;
When a=5, the linear equation is y=(-4/5)x+4, and the whole point is (1, 1), (1, 2), (1, 3), (2/kloc-0.
Because the number of whole points increases with the increase of A, when the abscissa of B is 3 or 4, the number of whole points is 3.
When the abscissa of B is 4n, that is, a=4n, the straight AB equation is y=(- 1/n)x+4, and the number of integral points is m=6n-3.