2022 SSMO Tiebreaker Round Problems/Problem 1

Revision as of 18:42, 15 December 2023 by Pinkpig (talk | contribs) (Created page with "==Problem== For all positive integers <math>n,</math> let <math>S(n)</math> denote the least positive integer <math>x</math> such that <math>n+x</math> is a palindrome. Find t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

For all positive integers $n,$ let $S(n)$ denote the least positive integer $x$ such that $n+x$ is a palindrome. Find the value of $\displaystyle{\sum_{n=1}^{100}S(n)}.$

Solution