Maths Olympiad Prep

Library / HMMT February /372 of 1302

HMMT February

Algebra Difficulty 5.1 AIME, harder Find the answer

For positive integers LL, let SL=∑n=1L⌊n/2⌋S_{L}=\sum_{n=1}^{L}\lfloor n / 2\rfloor. Determine all LL for which SLS_{L} is a square number.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

We distinguish two cases depending on the parity of LL. Suppose first that L=2k−1L=2k-1 is odd, where k≥1k \geq 1. Then SL=∑1≤n≤2k−1⌊n2⌋=2∑0≤m<km=2⋅k(k−1)2=k(k−1)S_{L}=\sum_{1 \leq n \leq 2k-1}\left\lfloor\frac{n}{2}\right\rfloor=2 \sum_{0 \leq m<k} m=2 \cdot \frac{k(k-1)}{2}=k(k-1). If k=1k=1, this is the square number 0. If k>1k>1 then (k−1)2<k(k−1)<k2(k-1)^{2}<k(k-1)<k^{2}, so k(k−1)k(k-1) is not square. Now suppose L=2kL=2k is even, where k≥1k \geq 1. Then SL=SL−1+k=k2S_{L}=S_{L-1}+k=k^{2} is always square. Hence SLS_{L} is square exactly when L=1L=\mathbf{1} or LL is even.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.