Problem:
In a rectangular array of points, with 5 rows and N columns, the points are numbered consecutively from left to right beginning with the top row. Thus the top row is numbered 1 through N, the second row is numbered N+1 through 2N, and so forth. Five points, P1β,P2β,P3β,P4β, and P5β, are selected so that each Piβ is in row i. Let xiβ be the number associated with Piβ. Now renumber the array consecutively from top to bottom, beginning with the first column. Let yiβ be the number associated with Piβ after renumbering. It is found that x1β=y2β,x2β=y1β, x3β=y4β,x4β=y5β, and x5β=y3β. Find the smallest possible value of N.
Solution:
Suppose that Piβ is in row i and column ciβ. It follows that
x1β=c1β,x2β=N+c2β,x3β=2N+c3β,x4β=3N+c4β,x5β=4N+c5β
and
y1β=5c1ββ4,y2β=5c2ββ3,y3β=5c3ββ2,y4β=5c4ββ1,y5β=5c5β
The Piβ have been chosen so that
c1βN+c2β2N+c3β3N+c4β4N+c5ββ=5c2ββ3=5c1ββ4=5c4ββ1=5c5β=5c3ββ2β
Use the first two equations to eliminate c1β, obtaining 24c2β=N+19. Thus N=24k+5, where k=c2ββ1. Next use the remaining equations to eliminate c3β and c4β, obtaining 124c5β=89N+7. Substitute for N to find that 124c5β=2136k+452, and hence 31c5β= 534k+113=31(17k+3)+7k+20. In other words, 7k+20=31m for some positive integer m. Now 7k=31mβ20=7(4mβ2)+3mβ6. Since 7 must divide 3mβ6, the minimum value for m is 2, and the smallest possible value of k is therefore 6, which leads to N=24β
6+5=149β. It is not difficult to check that c2β=7,c1β=32,c5β=107, c4β=5c5ββ3N=88, and c3β=5c4ββ1β2N=141 define an acceptable placement of points Piβ. The numbers associated with the points are x1β=32,x2β=156,x3β=439,x4β=535, and x5β=703.
Note: Modular arithmetic can be used to simplify this solution.
The problems on this page are the property of the MAA's American Mathematics Competitions