olymmath

AIME 1999 Problem 5

  • Paper
  • Answer

For any positive integer xx_{}, let S(x)S(x) be the sum of the digits of xx_{}, and let T(x)T(x) be ∣S(x+2)−S(x)∣.|S(x+2)-S(x)|. For example, T(199)=∣S(201)−S(199)∣=∣3−19∣=16.T(199)=|S(201)-S(199)|=|3-19|=16. How many values of T(x)T(x) do not exceed 1999?

Dataset text AIME 1983 to 2026. Quoted with source.

Show the answer

223

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Locator aime/1999/p5 · Tag 37C8GH9R3H · Edit this page on GitHub · Keys: j next, k previous