MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - College-Hosted Events
Stanford Mathematics Tournament
2022 Stanford Mathematics Tournament
6
SMT 2022 Discrete #6
SMT 2022 Discrete #6
Source:
April 1, 2023
Problem Statement
Let
A
\mathcal{A}
A
be the set of finite sequences of positive integers
a
1
,
a
2
,
…
,
a
k
a_1,a_2,\dots,a_k
a
1
,
a
2
,
…
,
a
k
such that
∣
a
n
−
a
n
−
1
∣
=
a
n
−
2
|a_n-a_{n-1}|=a_{n-2}
∣
a
n
−
a
n
−
1
∣
=
a
n
−
2
for all
3
⩽
n
⩽
k
3\leqslant n\leqslant k
3
⩽
n
⩽
k
. If
a
1
=
a
2
=
1
a_1=a_2=1
a
1
=
a
2
=
1
, and
k
=
18
k=18
k
=
18
, determine the number of elements of
A
\mathcal{A}
A
.
Back to Problems
View on AoPS