Stars and Bars (AIME / USAJMO / AMO)
Proof-style AIME / USAJMO / AMO statements — develop a full argument; type only the final answer.
Proof track: treat each problem as a full olympiad writeup on paper. Here you only enter the final answer (integer or short expression).
Stars and Bars: core idea
Example problem: hint and answer
**(Proof track.)** Prove that the number of positive integer solutions to with equals the number of partitions of into exactly parts. Using your proof, evaluate that number for , . Enter the integer.
Hint: Standard partition listing / Ferrers duality. Answer: 30.
Practice (9 problems — type your answers)
No proof submission required — answers only.
1. **(Proof track.)** Prove a bijection between nonnegative solutions of and partitions of with parts at most . For , , how many such partitions are there?
2. **(Proof track.)** Using inclusion-exclusion, prove a closed form for the number of positive solutions to with each . Enter that number.
3. **(Proof track.)** Prove that the number of lattice paths with steps not rising above is the Catalan number . Enter .
4. **(Proof track.)** Prove that the number of ways to choose elements from with no two consecutive equals . For , , enter the value.
5. **(Proof track.)** Show that the number of compositions of with parts in is . Enter the number of such compositions of .
6. **(Proof track.)** Prove via generating functions that the number of nonnegative solutions to equals the coefficient of in . Enter that coefficient.
7. **(Proof track.)** Using Möbius inversion on the lattice of positive integers under divisibility, prove a formula for the number of -tuples of positive integers summing to with gcd . For , , enter that count.
8. **(Proof track.)** Prove that surjections number . Enter the number of surjections .
9. **(Proof track.)** Establish the hockey-stick identity combinatorially. Using it, evaluate .