2021 WSMO Speed Round Problems/Problem 3

Revision as of 09:07, 23 December 2021 by Pinkpig (talk | contribs) (Created page with "==Problem== Let <math>a@b=\frac{a^2-b^2}{a+b}</math>. Find the value of <math>1@(2@(\dots(2020@2021)\dots)</math>. ==Solution== Note that <math>a^2-b^2=(a-b)(a+b).</math> Thi...")
(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}.\]