MathDB
Putnam 2013 A2

Source:

December 9, 2013
Putnamfunctioncollege contests

Problem Statement

Let SS be the set of all positive integers that are not perfect squares. For nn in S,S, consider choices of integers a1,a2,,ara_1,a_2,\dots, a_r such that n<a1<a2<<arn<a_1<a_2<\cdots<a_r and na1a2arn\cdot a_1\cdot a_2\cdots a_r is a perfect square, and let f(n)f(n) be the minimum of ara_r over all such choices. For example, 2362\cdot 3\cdot 6 is a perfect square, while 23,24,25,234,2\cdot 3,2\cdot 4, 2\cdot 5, 2\cdot 3\cdot 4, 235,245,2\cdot 3\cdot 5, 2\cdot 4\cdot 5, and 23452\cdot 3\cdot 4\cdot 5 are not, and so f(2)=6.f(2)=6. Show that the function ff from SS to the integers is one-to-one.