vEnhance's avatar

Dec 07, 2015

🖉 Putnam 2015 Aftermath

(EDIT: These solutions earned me a slot in N1, top 16.)

I solved eight problems on the Putnam last Saturday. Here were the solutions I found during the exam, plus my repaired solution to B3 (the solution to B3 I submitted originally had a mistake).

Some comments about the test. I thought that the A test had easy problems: problems A1, A3, A4 were all routine, and problem A5 is a little long-winded but nothing magical. Problem A2 was tricky, and took me well over half the A session. I don’t know anything about A6, but it seems to be very hard.

The B session, on the other hand, was completely bizarre. In my opinion, the difficulty of the problems I did attempt was B4B1B5<B3<B2.B4 \ll B1 \ll B5 < B3 < B2.

1. Problems

1.1. Day A

  1. Points AA and BB are on the same branch of the hyperbola xy=1xy=1. Point PP is selected between them maximizing the area of ABP\triangle ABP. Show that the area of region bounded by the hyperbola and APAP equals the area of region bounded by the hyperbola and BPBP.

  2. Define a0=1a_0 = 1, a1=2a_1 = 2 and an=4an1an2a_n = 4a_{n-1} - a_{n-2}. Find an odd prime dividing a2015a_{2015}.

  3. Compute

    log2a=12015b=12015(1+e2πiab2015).\log_2 \prod_{a=1}^{2015} \prod_{b=1}^{2015} \left( 1 + e^{\frac{2\pi i a b}{2015}} \right).

  4. Let f(x)=nSx2nf(x) = \sum_{n \in S_x} 2^{-n} where Sx={nZ+nx even}S_x = \{ n \in \mathbb Z^+ \mid \left\lfloor nx \right\rfloor \text { even} \}. Compute infx[0,1)f(x)\inf_{x \in [0,1)} f(x).

  5. Let q1q \ge 1 be an odd integer and define

    Nq=#{0<a<q/4gcd(a,q)=1}.N_q = \# \left\{ 0 < a < q/4 \mid \gcd(a,q) = 1 \right\}. Prove NqN_q is odd if and only if q=pkq = p^k for some prime p5,7(mod8)p \equiv 5,7 \pmod8.

  6. Let AA, BB, MM, XX be n×nn \times n real matrices. Prove that if AM=MBAM = MB and AA, BB have the same characteristic polynomial then det(AMX)=det(BXM)\det(A-MX) = \det(B-XM).

1.2. Night B

  1. Let f:RRf : \mathbb R \rightarrow \mathbb R be thrice differentiable. Prove that if ff has at least five distinct roots then f+6f+12f"+8ff + 6f' + 12f" + 8f''' has at least two distinct roots.

  2. Starting with the list of positive integers 1,2,3,1, 2, 3, \dots, we repeatedly remove the first three elements as well as their sum, giving a sequence of sums 1+2+3=61+2+3=6, 4+5+7=164+5+7=16, 8+9+10=278+9+10=27, 11+12+13=3611+12+13=36, 14+15+17=4614+15+17=46, and so on. Decide whether some sum in the sequence ends with 20152015 in base 1010.

  3. Define SS to be the set of real matrices (abcd)\left(\begin{smallmatrix} a & b \\ c & d \end{smallmatrix}\right) such that aa, bb, cc, dd form an arithmetic progression in that order. Find all MSM \in S such that for some integer k>1k > 1, MkSM^k \in S.

  4. Let $ T = \left{a,b,c) \in \mathbb Z_+^3 \mid a,b,c \text{ are sides of a triangle} \right} $. Prove that

    (a,b,c)T2a3b5c\sum_{(a,b,c) \in T} \frac{2^a}{3^b5^c} is rational and determine its value.

  5. Let PnP_n be the number of permutations π:{1,,n}{1,,n}\pi : \{1, \dots, n\} \rightarrow \{1, \dots, n\} such that π(i)π(j)2|\pi(i)-\pi(j)| \le 2 where ij1|i-j| \le 1. For any n2n \ge 2 show that

    Pn+5Pn+4Pn+3+PnP_{n+5} - P_{n+4} - P_{n+3} + P_n does not depend on nn and determine its value.

  6. Let a(k)a(k) be the number of odd divisors of kk in the interval [1,2k)[1, \sqrt{2k}). Compute

    k1(1)k1a(k)k.\sum_{k \ge 1} \frac{(-1)^{k-1} a(k)}{k}.

2. Solution to Problem A1

Standard A1 fare. WLOG AA is to the left of BB on the positive branch. First we claim the tangent to PP must be parallel to line ABAB; otherwise let it intersect the parabola again at PP', and any point between PP and PP' will increase the area of ABP\triangle ABP. In that case, we must have 1p2=1a1bab    p=ab-\frac{1}{p^2} = \frac{\frac1a-\frac1b}{a-b} \implies p = \sqrt{ab} Now the area bounded by APAP is

1a+1p2(pa)ap1xdx=12(paap)log(pa). \frac{\frac1a+\frac1p}{2} \cdot (p-a) - \int_a^p \frac 1x dx = \frac{1}{2}\left( \frac pa - \frac ap \right) - \log \left( \frac pa \right).

The area of BPBP is computed similarly and gives 12(bppb)log(bp)\frac{1}{2}\left( \frac bp - \frac pb \right) - \log \left( \frac bp \right) and so these are equal.

3. Solution to Problem A2

By induction we have an=12((2+3)n+(23)n)a_n = \frac12\left( (2+\sqrt3)^n+(2-\sqrt3)^n \right). Thus ama(2k+1)ma_{m} \mid a_{(2k+1)m} for any kk, mm, because their quotient is both rational and an algebraic integer. Thus a5=362=2181a_5 = 362 = 2 \cdot \boxed{181}.

During the test, I only found this solution by computing a1a_1, …, a11a_{11} explicitly and factoring the first 1010 numbers, upon which I realized a3a9a_3 \mid a_9.

4. Solution to Problem A3

First, we use the fact that for any odd integer mm, we have 1bm(1+ζb)=2\prod_{1 \le b \le m} (1 + \zeta^b) = 2 where ζ\zeta is an mm-th root of unity. (Just plug 1-1 into Xm1X^m-1.) Thus

log2a=12015b=12015(1+e2πiab2015)=log2a=120152gcd(a,2015)=a=12015gcd(a,2015)=d20152015dϕ(d)=(5+ϕ(5))(13+ϕ(13))(31+ϕ(31))=92561=13725. \begin{aligned} \log_2 \prod_{a=1}^{2015} \prod_{b=1}^{2015} \left( 1 + e^{\frac{2\pi i a b}{2015}} \right) &= \log_2 \prod_{a=1}^{2015} 2^{\gcd(a,2015)} \\ &= \sum_{a=1}^{2015} \gcd(a,2015) \\ &= \sum_{d \mid 2015} \frac{2015}{d} \phi(d) \\ &= (5+\phi(5))(13+\phi(13))(31+\phi(31)) \\ &= 9 \cdot 25 \cdot 61 \\ &= \boxed{13725}. \end{aligned}

5. Solution to Problem A4

We first prove that f(x)47f(x) \ge \frac47 for every x[0,1)x \in [0,1). It suffices to consider x12x \ge \frac{1}{2} since otherwise f(x)12+14f(x) \ge \frac12+\frac14. We note that for any kk, if kSxk \notin S_x and k+1Sxk+1 \notin S_x then we require that kx=(k+1)x=2m+1\left\lfloor kx \right\rfloor = \left\lfloor (k+1)x \right\rfloor = 2m+1 for some mm; since 12x<21 \le 2x < 2 this implies (k+2)x=2m+2\left\lfloor (k+2)x \right\rfloor = 2m+2.

Thus among any three consecutive numbers, at least one is in SxS_x. Plainly 1Sx1 \in S_x and hence f(x)21+24+27+=47f(x) \ge 2^{-1} + 2^{-4} + 2^{-7} + \dots = \frac47.

Finally note that f(23ε)47asx23f\left( \frac23-\varepsilon \right) \rightarrow \frac47 \quad\text{as}\quad x \rightarrow \frac23 so the answer is L=47L = \boxed{\frac47}.

6. Solution to Problem A5

Let q=p1e1p2e2pnenq = p_1^{e_1} p_2^{e_2} \dots p_n^{e_n}. By Principle of Inclusion-Exclusion (or Moebius inversion?) we have

Nq=S{1,,n}(1)Sq4sSps. N_q = \sum_{S \subset \{1, \dots, n\}} (-1)^{|S|} \left\lfloor \frac{q}{4\prod_{s \in S} p_s} \right\rfloor .

The (1)S(-1)^{|S|} vanishes when taking modulo 22. Now, 4(mod2)\left\lfloor \frac{\bullet}{4} \right\rfloor \pmod 2 depends only on the input modulo 88, equalling 00 for 1,3(mod8)1,3 \pmod 8 and 11 for 5,7(mod8)5,7\pmod8. As p21(mod8)p^2 \equiv 1 \pmod 8 the exponents in the floor also can be taken mod 22. Therefore, we can simplify this to

NqS{1,,n}qsSps8(mod2). N_q \equiv \sum_{S \subset \{1, \dots, n\}} \left\lfloor \frac{q\prod_{s \in S} p_s}{8} \right\rfloor \pmod 2.

Let A(S)=qsSps8(mod2)A(S) = \left\lfloor \frac{q\prod_{s \in S} p_s}{8} \right\rfloor \pmod 2. The solution now proceeds in three cases.

If any prime is 11 or 33 mod 88, say p1p_1, then A(T)=A(T{1})A(T) = A(T \cup \{1\}) for T{2,,n}T \subset \{2, \dots, n\} and thus NqN_q is even.

If all primes are 55 or 77 mod 88 and n2n \ge 2, then A(T)=A(T{1,2})A(T) = A(T \cup \{1,2\}) and A(T{1})=A(T{2})A(T \cup \{1\}) = A(T \cup \{2\}) for T{3,,n}T \subset \{3, \dots, n\} and thus NqN_q is even.

But if n=1n = 1 and p15,7(mod8)p_1 \equiv 5,7 \pmod 8 then A()+A({1})A(\varnothing) + A(\{1\}) is always odd. This completes the proof.

7. Solution to Problem B1

Let X(f)=f+2fX(f) = f + 2f'. The problem asks to show ff having five distinct real roots implies X(X(X(f)))X(X(X(f))) has at least two. But by Rolle’s Theorem on g(x)=e12xf(x)    2g(x)=e12x(f(x)+2f(x))g(x) = e^{\frac{1}{2} x} f(x) \implies 2g'(x) = e^{\frac{1}{2} x}(f(x) + 2f'(x)) we see that ff having kk roots gives X(f)X(f) having k1k-1 roots, so done. (I’m told the trick of considering this function gg is not new, though I came up with it during the exam so I can’t verify this.)

Lots of people said something about trying to use the Intermediate Value Theorem to show that X(f)X(f) has a root between any two roots of ff. This would require ff to be continuously differentiable, so it breaks down at the last application to X(X(X(f)))X(X(X(f))). I deliberately appealed to Rolle’s Theorem because I didn’t trust myself to deal with these real-analytic issues during the exam.

8. Solution to Problem B3

The answer is (tttt)and(3ttt3t)\begin{pmatrix} t&t\\t&t \end{pmatrix} \quad\text{and}\quad \begin{pmatrix} -3t&-t\\t&3t \end{pmatrix} for tRt \in \mathbb R. These work by taking k=3k=3.

Now to see these are the only ones, consider an arithmetic matrix M=(aa+ea+2ea+3e).M = \begin{pmatrix} a & a+e \\ a+2e & a+3e \end{pmatrix}. which is not zero everywhere. Its characteristic polynomial is t2(2a+3e)t2e2t^2 - (2a+3e)t - 2e^2, with discriminant (2a+3e)2+8e2(2a+3e)^2 + 8e^2, so it has two distinct real roots; moreover, since 2e20-2e^2 \le 0 either one of the roots is zero or they are of opposite signs.

Now we can diagonalize MM by writing

M=(sqrp)(λ100λ2)(pqrs)=(psλ1qrλ2qs(λ1λ2)pr(λ2λ1)psλ2qrλ1) M = \begin{pmatrix} s & -q \\ -r & p \end{pmatrix} \begin{pmatrix} \lambda_1 & 0 \\ 0 & \lambda_2 \end{pmatrix} \begin{pmatrix} p & q \\ r & s \end{pmatrix} = \begin{pmatrix} ps\lambda_1 - qr\lambda_2 & qs(\lambda_1-\lambda_2) \\ pr(\lambda_2-\lambda_1) & ps\lambda_2 - qr\lambda_1 \end{pmatrix}

where psqr=1ps-qr=1. By using the fact the diagonal entries have sum equalling the off-diagonal entries, we obtain that

(psqr)(λ1+λ2)=(qspr)(λ1λ2)    qspr=λ1+λ2λ1λ2. (ps-qr)(\lambda_1+\lambda_2) = (qs-pr)(\lambda_1-\lambda_2) \implies qs-pr = \frac{\lambda_1+\lambda_2}{\lambda_1-\lambda_2}.

Now if MkSM^k \in S too then the same calculation gives qspr=λ1k+λ2kλ1kλ2k.qs-pr = \frac{\lambda_1^k+\lambda_2^k}{\lambda_1^k-\lambda_2^k}. Let x=λ1/λ2<0x = \lambda_1/\lambda_2 < 0 (since 2e2<0-2e^2 < 0). We appropriately get

x+1x1=xk+1xk1    2x1=2xk1    x=xk    x=1 or x=0 \frac{x+1}{x-1} = \frac{x^k+1}{x^k-1} \implies \frac{2}{x-1} = \frac{2}{x^k-1} \implies x = x^k \implies x = -1 \text{ or } x = 0

and kk odd. If x=0x=0 we get e=0e=0 and if x=1x=-1 we get 2a+3e=02a+3e=0, which gives the curve of solutions that we claimed. (Unfortunately, during the test I neglected to address x=1x=-1, which probably means I will get null marks.)

9. Solution to Problem B4

By the Ravi substitution,

(a,b,c)T2a3b5c=x,y,z1 odd2y+z23z+x25x+y2+x,y,z2 even2y+z23z+x25x+y2=u,v,w12v+w3w+u5u+v(1+213151)=172u,v,w1(115)u(25)v(23)w=17211511152512523123=1721. \begin{aligned} \sum_{(a,b,c) \in T} \frac{2^a}{3^b5^c} &= \sum_{x,y,z \ge 1 \text{ odd}} \frac{2^\frac{y+z}{2}}{3^{\frac{z+x}{2}} 5^{\frac{x+y}{2}}} + \sum_{x,y,z \ge 2 \text{ even}} \frac{2^\frac{y+z}{2}}{3^{\frac{z+x}{2}} 5^{\frac{x+y}{2}}} \\ &= \sum_{u,v,w \ge 1} \frac{2^{v+w}}{3^{w+u}5^{u+v}} \left( 1 + \frac{2^{-1}}{3^{-1}5^{-1}} \right) \\ &= \frac{17}{2} \sum_{u,v,w \ge 1} \left(\frac{1}{15}\right)^u \left(\frac25\right)^v \left(\frac23\right)^w \\ &= \frac{17}{2} \frac{\frac{1}{15}}{1-\frac{1}{15}} \frac{\frac25}{1-\frac25}\frac{\frac23}{1-\frac23} \\ &= \boxed{\frac{17}{21}}. \end{aligned}

No idea why this was B4; it was by far the easiest problem on the test for me. I knew how to do it in less than a second on seeing it and the rest was just arithmetic. (We use the Ravi substitution all the time on olympiad inequalities, so it’s practically a reflex for me.)

10. Solution to Problem B5

My solution was long and disgusting, so I won’t write out the full details. The idea is to let AnA_n be the number of permutations in Pn+1P_{n+1} with the additional property that π(1)=1\pi(1) = 1. By casework on the index kk with π(k)=1\pi(k) = 1 (which must be surrounded by 22 or 33 if k1,nk \neq 1, n) one obtains Pn=2(A0+A1++An3+An1)n2.P_n = 2(A_0 + A_1 + \dots + A_{n-3} + A_{n-1}) \qquad n \ge 2. Also by more casework one obtains the recursion An=An1+An3+1n3.A_n = A_{n-1} + A_{n-3} + 1 \qquad n \ge 3. From this one obtains PnPn1=2(An1An2+An3)=2(An3+An4+1).P_n - P_{n-1} = 2(A_{n-1}-A_{n-2}+A_{n-3}) = 2(A_{n-3}+A_{n-4}+1). So we know Pn+5Pn+4P_{n+5}-P_{n+4} and can compute Pn+3Pn=(Pn+3Pn+2)+(Pn+2Pn+1)+(Pn+1Pn)P_{n+3}-P_n = (P_{n+3}-P_{n+2}) + (P_{n+2}-P_{n+1}) + (P_{n+1}-P_n) so a long algebraic computation gives that these differ by 4\boxed 4.

Also, I swear I’ve seen the exact condition π(i)π(j)2|\pi(i)-\pi(j)|\le 2 many years ago, back when I was doing high school olympiads. But it was so long ago I don’t remember the source.