Skip to content / Đến nội dung
ThichHocToan.com

MathNet 1994 — Part 01 Question 19

Math Olympiad Vault · MathNet 1994 — Part 01

Question 19

How many positive integers satisfy the following three conditions:
(i) All digits of the number are from the set $\{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?