A Passing Line


The answer is 62.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Assume the rectangular grid on the 2-dimensional Cartesian coordinate system, with the left lower corner at ( 0 , 0 ) (0,0) position. The line has the slope 13 50 \frac{13}{50} and the intersection of the line with each vertical line x x , happens at 13 x 50 \frac{13x}{50} . We know that at least one square from each column would be passed by the line (the answer would be at least 50 50 ). The line would not pass more than 2 2 squares from each column. If it does so, the slope of the line would be greater than 1 1 (contradiction!). In order to find those column, in which two squares would contribute to the final answer, we need to find integer 0 x < 50 0\leq x < 50 , such that 13 x 50 13 x 50 > 37 50 \frac{13x}{50}-\lfloor \frac{13x}{50} \rfloor > \frac{37}{50} or, in other words, 13 x 50 13 x 50 < 13 50 \lceil\frac{13x}{50} \rceil - \frac{13x}{50} < \frac{13}{50} . To find such x x , we should see for which x x

13 x ( m o d 50 ) > 37 13x \ (mod 50) > 37

since 0 x < 50 0 \leq x < 50 and, x y , 0 x , y < 50 x\neq y \ , \ 0\leq x,y<50 iff 13 x ( m o d 50 ) 13 y ( m o d 50 ) 13x \ (mod 50) \neq 13y \ (mod 50) , there are exactly 49 38 + 1 = 12 49-38+1=12 such x x . so, the solution is 50 + 12 = 62 50+12=62 .

How did you get to 13x (mod50)>37?

Elliott Chen - 1 year, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...