The line segment AB with endpoints and is divided by a point X in the ratio 1:2
To verify that X divides the line segment in the ratio 1:2, we will use section formula. Section formula tells the coordinates of the point which divide the line segment in the certain ratio or vice-versa.
We will assume that X divides AB in k:1 and insert the values in the section formula. If the ratio k:1 comes out to be 1:2, then it verifies the claim.
So to get 500 to 1,000,000 you need to multiply it 2,000 times. With that you also need to multiply the 1 2,000 times so 2,000 players will get a perfect score.