Question 1179225
.



See this solution with nicely presented illustration


https://math.stackexchange.com/questions/1498966/what-line-can-touch-the-most-chess-squares



or this 


https://math.stackexchange.com/questions/1498966/what-line-can-touch-the-most-chess-squares


with the nice explanation.