olymmath

AIME 2004a Problem 6

  • Paper
  • Answer

An integer is called snakelike if its decimal representation a1a2a3⋯aka_1a_2a_3\cdots a_k satisfies ai<ai+1a_i<a_{i+1} if ii is odd and ai>ai+1a_i>a_{i+1} if ii is even. How many snakelike integers between 1000 and 9999 have four distinct digits?

Dataset text AIME 1983 to 2026. Quoted with source.

Show the answer

882

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/2004a/p6 · Tag PFA1TGN697 · Edit this page on GitHub · Keys: j next, k previous