olymmath

BALTIC-WAY 1994 Problem 10

  • Answer

How many positive integers satisfy the following three conditions:

(i) All digits of the number are from the set {1,2,3,4,5}\{1,2,3,4,5\};

(ii) The absolute value of the difference between any two consecutive digits is 1 ;

(iii) The integer has 1994 digits?

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

8 \cdot 3^{996}

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 baltic-way/1994/p10 · Tag PS677VKQF2 · Edit this page on GitHub · Keys: j next, k previous