MathDB
Number, Renumber

Source: AIME 2001 #11

December 6, 2005
analytic geometryAIMEmodular arithmeticalgebrasystem of equations

Problem Statement

In a rectangular array of points, with 5 rows and NN columns, the points are numbered consecutively from left to right beginning with the top row. Thus the top row is numbered 1 through N,N, the second row is numbered N+1N+1 through 2N,2N, and so forth. Five points, P1,P2,P3,P4,P_1, P_2, P_3, P_4, and P5,P_5, are selected so that each PiP_i is in row i.i. Let xix_i be the number associated with Pi.P_i. Now renumber the array consecutively from top to bottom, beginning with the first column. Let yiy_i be the number associated with PiP_i after the renumbering. It is found that x1=y2,x_1=y_2, x2=y1,x_2=y_1, x3=y4,x_3=y_4, x4=y5,x_4=y_5, and x5=y3.x_5=y_3. Find the smallest possible value of N.N.