According to the statement, we have two consecutively numbered gym lockers which sum 123.
Let's suppose that the first locker has the number X, so the consecutive has a number X+1, and because the sum of the numbers is 123, we can write the following equation:
[tex]X+(X+1)=123[/tex]Solving the last equation for X we find that:
[tex]\begin{gathered} 2X+1=123 \\ 2X=123-1 \\ 2X=122 \\ X=\frac{122}{2} \\ X=61 \end{gathered}[/tex]Answer
The numbers of the lockers are 61 and 62.