### Putnam 2010

The Putnam exam is one of the hardest and most prestigious mathematical exams. Every year, more than 4,000 students, including math olympiad medalists from various countries, attempt the exam. The median score, almost every year, is 0. Each correctly answered question is worth 10 points

I often find myself trying to solve old Putnam problems, mainly because it serves as a way of “mathematical” procrastination- something that detracts me from my actual job of trying to solve my research problem. Yesterday, I ended up solving most questions from the 2010 Putnam paper. This is probably due to the fact that 2010 was one of the easiest papers in the recent past. When I compared my solutions with the solutions online, they turned out to be pretty different. Hence, I am recording them here.

The problems can be found here

A1: We need to find the largest number of boxes. Clearly, we need to place as few elements as possible in each box. If $n$ is odd, then assume that we can place the largest element $n$ in a box by itself. All the other boxes contain elements of the form $\{i,n-i\}$. Hence, we can have $\frac{n+1}{2}$ boxes. Why can we not have an even larger number of boxes? Let $a$ be the lowest number of elements in a box. If $a=1$, then the configuration above is the only possibility. If $a\geq 2$, then there are at most $\frac{n-1}{2}$ boxes, which is lower than the number of boxes we have obtained above $(\frac{n+1}{2}$).

If $n$ is even, then one such configuration is $\{i,n+1-i\}$. Using an argument similar to that given above, we can conclude that the highest number of boxes possible is $\frac{n}{2}$.

A2: First we prove that the derivative of the function above is periodic with period $1$. For some $x$, we know that

$f'(x)=\frac{f(x+2)-f(x)}{2}=\frac{f(x+2)-f(x+1)}{2}+\frac{f(x+1)-f(x)}{2}=\frac{f(x+2)-f(x+1)}{2}+\frac{1}{2}f'(x)$.

Hence, $f'(x+1)=\frac{f(x+2)-f(x+1)}{1}=f'(x)$. This way, we have proven that the derivative of $f$ is periodic with period $1$.

What this shows is it that the function repeats the same “shape” every time we move to the right or left by $1$. If $f$ is not a straight line, then there will be two points in $[0,1]$ with different derivatives. Let us also assume without loss of generality that $f(1)>f(0)$. Hence, $f'(0)=\frac{f(1)-f(0)}{1}$ is positive. Let $p\in[0,1]$ be the point with a derivative that is different from $f'(0)$. However, $f'(p)=\frac{f(p+1)-f(p)}{1}$ will be the same as $f'(0)$ because $f(p+1)-f(p)=f(1)-f(0)$. This is because the function repeats its shape with a period of $1$. Hence,

$f(p+1)-f(p)=\int_p^{p+1}{f'(x)} dx=\int_p^1 f'(x)dx+\int _0^p f'(x)dx=f(1)-f(0)$.

This contradicts the fact that $f'(p)\neq f'(0)$.

Therefore, as the derivative at all points is the same, straight lines are the only solutions.

A3: Consider the curve $\gamma: t\to (at,bt)$. Clearly, $a\frac{dh}{dx}+b\frac{dh}{dy}=\frac{\partial}{\partial t}h(\gamma(t))$. Now as $h(\gamma(t))=\frac{\partial}{\partial t}h(\gamma(t))$, clearly $h(\gamma(t)$ is exponential, at least along $\gamma$. That contradicts the fact that $h$ is bounded.

A4: Let $n=2^ab$, where $b$ is not a power of $2$. Then we claim that $10^{10^{10^n}}+10^{10^n}+10^n-1$ is divisible by $10^{2^a}+1$.

Proof: $10^n\equiv -1\pmod {10^{2^a}+1}$.

Now $10^{10^n}=10^{10^{2^a b}}=10^{2^{2^a b}5^{2^a b}}=(10^{2^a})^{2^{2^ab-a}5^{2^ab}}$. Hence, it is $\equiv 1 \pmod {10^{2^a}+1}$.

Similarly, $10^{10^{10^n}}\equiv 1\pmod {10^{2^a}+1}$. Adding the residues up, we see that $10^{10^{10^n}}+10^{10^n}+10^n-1\equiv 0\pmod{10^{2^a}+1}$

B1: Let us assume that this is true. Then we have $a_1^2+a_2^2+\dots+a_n^2+\dots=2$. If any of these elements, say $a_i$, is greater than $1$, then $a_i^{2n}$ will be much greater than $2n$ for large enough $n$. Hence, this contradicts the fact that $a_1^{2n}+\dots+a_i^{2n}+\dots=2n$. Therefore, all the $a_i$‘s are less than $1$. The $a_i$‘s that are exactly equal to $\{\pm 1\}$, we can remove by subtracting them from the left hand side. Now for these numbers that are less than $1$, as we increase $n$, $\sum a_i^n$ is a decreasing sequence. However, the right hand side, which is $n$, is an increasing sequence. This is a contradiction. Therefore, no such sequence exists.

B2: The smallest such length is $3$. Let $A=(0,0)$. If the smallest length is $1$, then without loss of generality let $B=(1,0)$. Note that if $C=(x,y)$, then both $\sqrt{x^2+y^2}$ and $\sqrt{(x-1)^2+y^2}$ need to be integers. This is impossible. Similarly, if the smallest length is $2$, then without loss of generality, we can assume that $B=(-2,0)$. Then if $C=(x,y)$, then both $\sqrt{x^2+y^2}$ and $\sqrt{(x-2)^2+y^2}$ need to be integers. This can also be seen to be impossible, by a simple case by case analysis. Note that $(n+1)^2-n^2=2n+1$. Hence, the difference between $\sqrt{x^2+y^2}$ and $\sqrt{(x+2)^2+y^2}$ must be at least twice the smaller number plus 1. Without loss of generality, we can assume that $x,y\geq 1$ ($y\neq 0$ as the three points are not collinear). This leaves only a couple of possibilities for $x,y$ which can be checked by hand to not be possible. Hence the minimum length is $3$, which gives us the regular pythagorean triangle with sides $3,4,5$. The coordinate of the points will be $(0,0), (3,0)$ and $(0,4)$.

B3: This is indeed a fantastic problem, with a simple solution: first transfer all the balls to $B_1$, and then transfer them one by one to the other baskets. As we can only draw $i$ balls from the $B_i$th basket, we need to ensure that at least one basket $B_i$ is such that it has $i$ balls. Otherwise, no balls can be moved from the initial configuration. Hence, the minimal number of balls is $0+1+\dots+2009+1=\frac{2009\times 2010}{2}+1$. Hence, the minimal value of $n$ is the upper floor value of this number divided by $2010$, which is $1005$.

B5: This is a pretty tricky problem. The way that I finally thought through is is to visualize what $f(f(x))$ would look like for an increasing function $f(x)$. If $f(x)$ is always positive, then $f(f(x))$ for $x\to-\infty$ would be within an $\epsilon$ distance of a fixed positive number, which is a contradiction as $f'(x)$ gets arbitrarily close to $0$ for $x\to -\infty$. Now we shall allow $f(x)$ to be negative. If $f(x)$ is not bounded below, then there will exist negative $x$ such that $f(f(x))$ will be negative. This contradicts the fact that $f'(x)$ is always non-negative. Now consider $f(x)$ which is bounded below, but can still be negative. Clearly $f(x)$ has to become positive at some point, as $f'(x)$ must be positive. If it becomes positive only when $x>0$, then $f(f(x))$ for $x<0$ will still be negative, which is a contradiction as $f'(x)=f(f(x))$ must be non-negative. Let $-a$ ($a$ is assumed to be positive here) be $\lim\limits_{x\to-\infty} f(x)$. If $f(x)$ becomes positive when $x>-a$, then $f(f(x))$ for $x\to-\infty$ will be negative, which is again a contradiction. Hence, $f(x)$ has to become positive for $x<-a$. Now if $f(-a)>0$, then $f(f(x))$ for $x\to -\infty$ will be arbitrarily close to a fixed positive number, which is a contradiction as $f'(x)$ for $x\to -\infty$ approaches $0$. Hence, $f(a)$ must be $0$.

Hence, the only remaining possibility is a function $f(x)$ such that $\lim\limits_{x\to -\infty} f(x)=-a$ and $f(-a)=0$. Let us analyze this function. We know that $f'(-a)=f(0)$. Also, for $x\in(-a,0]$, $f'(x)>f(0)$. Hence, $f(0)>af'(-a)$. This implies that $a<1$. I haven’t yet determined how to eliminate this case.