2021 WSMO Speed Round Problems/Problem 3

Revision as of 09:20, 23 December 2021 by Pinkpig (talk | contribs) (Solution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

Let $a@b=\frac{a^2-b^2}{a+b}$. Find the value of $1@(2@(\dots(2020@2021)\dots)$.

Solution

Note that $a^2-b^2=(a-b)(a+b).$ This means that $a@b=a-b.$ Now, $a@(b@c)=a-(b-c)=a-b+c$ and $a@(b@(c@d))=a-(b-(c-d))=a-b+c-d.$ Using this pattern, we find that \[1@(2@(\dots(2020@2021)\dots)=1-2+3-4+\ldots-2020+2021=\]\[(1-2)+(3-4)+\ldots+(2019-2020)+2021=-1010+2021=\boxed{1011}.\]

~pinkpig