Putnam 2017 A1
This week I worked with Dr. Pragel on the 2017 Putnam A1 problem, and we spent a good amount of time testing values, following patterns, and discussing what happens under squaring and shifting by 5.
It turned into a beautiful example of how a small modular observation unlocks the entire problem.
The Problem
Let
be the smallest set of positive integers such that
- if
then - if
then Which positive integers are not in
?
1. A quick observation
From (2) and (3) we can chain the rules:
If
Hence
so every number in
2. Building the first chain
Starting with
Then again:
Since
That means we already have a number congruent to 1 mod 5 in
Because
3. Mathematical Insight — why any non-multiple of 5 enters
Take any integer
Each term is the square of the previous one (exactly the pattern allowed by rule (2)).
Modulo 5, there are only four non-zero residues, so these powers eventually repeat.
By Fermat’s Little Theorem,
Since these powers grow without bound, choose
All sufficiently large integers
Now repeatedly apply rule (2) backwards:
Hence every integer
That’s the formal version of what Dr. Pragel and I explored by testing examples like
4. Describing
Let
We can verify
- if
, then and - if
, then and , so
Thus
Final Answer
The positive integers not in
That is, 1 and all multiples of 5.
Written after a fun and insightful whiteboard session with Dr. Pragel — we started by chasing patterns and ended up with a clean modular-theoretic proof.