Maths Olympiad Prep

Library / HMMT February /514 of 1302

HMMT February

Combinatorics Difficulty 5.2 AIME, harder Find the answer

A lattice point in the plane is a point of the form (n,m)(n, m), where nn and mm are integers. Consider a set SS of lattice points. We construct the transform of SS, denoted by S′S^{\prime}, by the following rule: the pair (n,m)(n, m) is in S′S^{\prime} if and only if any of (n,m−1),(n,m+1),(n−1,m)(n, m-1),(n, m+1),(n-1, m), (n+1,m)(n+1, m), and (n,m)(n, m) is in SS. How many elements are in the set obtained by successively transforming {(0,0)}14\{(0,0)\} 14 times?

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

Solution

Transforming it k≥1k \geq 1 times yields the 'diamond' of points (n,m)(n, m) such that ∣n∣+∣m∣≤k|n|+|m| \leq k. The diamond contains (k+1)2+k2(k+1)^{2}+k^{2} lattice points (this can be seen by rotating the plane 45 degrees and noticing the lattice points in the transforms form two squares, one of which is contained in the other), so the answer is 421.

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.