Lemma › Problems › Lemma original, SMO Senior style
Lemma original, SMO Senior style · Number Theory

Lemma original, SMO Senior style

For a positive integer nn, let d(n)d(n) be the number of positive divisors of nn, and let φ(n)\varphi(n) be the number of integers kk with 1≤k≤n1\le k\le n and gcd⁡(k,n)=1\gcd(k,n)=1. Find all positive integers nn with φ(n)+d(n)=n,\varphi(n)+d(n)=n, and prove that your list is complete.
Topic: Number Theory Difficulty: 5/6 Expected time: ~40 min Progressive hints on Lemma: 3

This is a proof problem. The answer is an argument, not a number. The solution is deliberately not posted here: reading a solution you didn't fight for teaches almost nothing. On Lemma you attempt it cold, take one of the 3 progressive hints only when genuinely stuck, then compare your proof against a full walkthrough and mark yourself with the same rubric a competition coordinator would use.

Train it on Lemma

This problem sits in the Olympiad Set: 105 proof problems (real IMO problems and the classics) with progressive hints, full walkthroughs and marking rubrics. 161 lessons, 1735 curated problems and unlimited generated practice at six difficulties. Free to start, no card.

Find your level

More Number Theory problems