2||0|69|0| 0|0|0|||||applet problem%3B a line in a square grid|sejeongy||07:20:00|08/17/2009|Hello.%0D%0A%0D%0AI was looking at the applet %22A line in a square grid%22 at http%3A%2F%2Fwww.cut-the-knot.org%2FCurriculum%2FGeometry%2FLineThroughGrid.shtml%0D%0A%0D%0AI entered M%3D27 and N%3D40. According to the final formula%2C the line should pass through M%2BN-1 %3D 66 squares %28since the gcd %3D 1%29. However%2C I only counted 60 squares colored in grey by the applet. Furthermore%2C the line appeared to pass through grid nodes%2C which would indicate a common divisor %3E 1%0D%0A%0D%0AIs there a problem with the applet%27s drawing resolution capacity%3F I see that %2240%22 is the limit for M and N. Could there be a problem with the applet%27s algorithm when MAX values are employed%3F%0D%0A%0D%0AOtherewise%2C this is an extraordinary web-page. Very fun%21%0D%0A 2|1|0|||||RE%3A applet problem%3B a line in a square grid|alexb||08:03:10|08/17/2009|Thank you for the kind words%2C the perseverance%2C and for locating and pointing out an error. It is fixed now.%0D%0A%0D%0AYou may need to clean up your cache or use a different browser to see the effect of the modifications.%0D%0A%0D%0AThank you again.%0D%0A%0D%0A