2023 Fall Theme p5C
Source:
December 23, 2023
2023FAlLthemegeo
Problem Statement
In equilateral triangle , and is the midpoint of . A laser is shot from in a certain direction, and whenever it collides with a side of it will reflect off the side such that the acute angle formed by the incident ray and the side is equal to the acute angle formed by the reflected ray and the side. Once the laser coincides with a vertex, it stops. Find the sum of the smallest three possible integer distances that the laser could have traveled.Proposed by Jerry Xu
Solution.
Whenever the laser hits a side of the triangle, reflect the laser's path over that side so that the path of the laser forms a straight line. We want the path of the laser to coincide with a vertex of one of the reflected triangles. Thus, we can restate the problem as follows:Tessellate the plane with equilateral triangles of side length . Consider one of these equilateral triangles with being the midpoint of . Find the sum of the three minimum integer distances from to any vertex in the plane.[asy]
import geometry;
size(8cm);
pair A = (0,sqrt(3));
pair B = (-1,0);
pair C = (1,0);
pair M = (0,0);
for (int i = -1; i <= 2; ++i) {
draw((i-3,i*sqrt(3))--(-i+3,i*sqrt(3)));
draw(((i-1)*2,-sqrt(3))--(i+1,(2-i)*sqrt(3)));
draw((-i-1,(2-i)*sqrt(3))--((1-i)*2,-sqrt(3)));
}
draw(A--B--C--A, red);
dot(M);
label("",A+(0,0.25),N);
label("",B-(0.25,0),SW);
label("",C+(0.25,0),SE);
label("",M,S);
[/asy]
It is trivial to see that the vertical distance between and a given vertex is for . If is even, the horizontal distance between and a given vertex is for . If is odd, the horizontal distance is for . We consider two separate cases: is even. We thus want to find such that
Make the substitution to get that
Notice that these equations form a family of generalized Pell equations with . We can find some set of roots to these equations using the multiplicative principle: we will use this idea to find three small values, and that gives us an upper bound on what the three values can be. From there, a simple bash of lower values to see if solutions to each generalized Pell equation not given by the multiplicative principle exist finishes this case.By the multiplicative principle some set of solutions to the above equation with sufficiently small follow the formulawhere is a solution to the generalized Pell equation and are solutions to the Pell equation . Remember that the solutions to this last Pell equation satisfywhere the trivial positive integer solution
(this can easily be found by inspection or by taking the convergents of the continued fraction expansion of ).We thus get that(also don't forget that is another solution).From here, note that must be odd since for . For , the smallest three solutions to the Pell equation with even are
\begin{align*}
(x,y)&=(0,1),(4,7),(56,97) \\
\longrightarrow (n,m,l)&=(0,0,1),(4,0,7),(56,0,97)
\end{align*}Our current smallest three values of are thus . A quick check confirms that all of these solutions are not extraneous (extraneous solutions appear when the path taken by the laser prematurely hits a vertex).For , using the multiplicative principle we get two new smaller solutions
\begin{align*}
(x,y)&=(0,3),(12,21) \\
\longrightarrow (n,m,l)&=(0,1,3),(12,1,21)
\end{align*}However, note that is extraneous since is equivalent to the path that is traced out by the solution found previously and will thus hit a vertex prematurely. Thus, our new three smallest values of are .For , it is evident that there are no more smaller integral values of that can be found using the multiplicative principle: the solution set is always extraneous for since it is equivalent to the path traced out by as described above, and any other solutions will give larger values of .Thus, we now only need to consider solutions to each generalized Pell equation not found by the multiplicative principle. A quick bash shows that gives no solutions for any odd and even , however gives and , a non-extraneous solution smaller than one of the three we currently have. Thus, our new three smallest values are .. is odd. We thus want to find such that
Make the substitution to get that
This is once again a family of generalized Pell equations with , however this time we must have even instead of odd. However, note that there are no solutions to this family of Pell equation with odd: since is even, and since is odd, however is not a possible quadratic residue mod . Thus, this case gives no solutions.Our final answer is thus .