c_1 + c_2 + ... + c_k = n^2 - 1, when c_1=a_i if a_i = a_{i-1} etc
Source: Dutch IMO TST 2015 day 1 p3
August 30, 2019
algebraSequenceSum
Problem Statement
Let n be a positive integer.
Consider sequences a0,a1,...,ak and b0,b1,,..,bk such that a0=b0=1 and ak=bk=n and such that for all i such that 1≤i≤k, we have that (ai,bi) is either equal to (1+ai−1,bi−1) or (ai−1;1+bi−1).
Consider for 1≤i≤k the number ci={aiifai=ai−1biifbi=bi−1
Show that c1+c2+...+ck=n2−1.