MathDB
Putnam 1967 B4

Source: Putnam 1967

May 14, 2022
Putnamnumber theorysquare

Problem Statement

a) A certain locker room contains nn lockers numbered 1,2,,n1,2,\ldots,n and all are originally locked. An attendant performs a sequence of operations T1,T2,,TnT_1, T_2 ,\ldots, T_n, whereby with the operation TkT_k the state of those lockers whose number is divisible by kk is swapped. After all nn operations have been performed, it is observed that all lockers whose number is a perfect square (and only those lockers) are open. Prove this. b) Investigate in a meaningful mathematical way a procedure or set of operations similar to those above which will produce the set of cubes, or the set of numbers of the form 2m22 m^2 , or the set of numbers of the form m2+1m^2 +1, or some nontrivial similar set of your own selection.