Competition counting and number theory: formulas

Pick a formula to see it explained with worked examples and a solver that shows every step.

About this topic

Competition problems often ask you to count cleverly or reason about whole numbers. These pages show the key tricks.

You will find clear examples, tips on mistakes and a step-by-step solver on every page. Begin with Hockey-stick identity.

Formulas in this topic

Competition counting and number theory questions

What is the hockey-stick identity?

It is a rule about adding numbers along a diagonal of Pascal's triangle.

Does the solver show every step?

Yes. Each page shows the working line by line, then checks the answer so you can see if yours matches.