First we will show that for all λ>1 every such sequence is unbounded. Note that an=λ⋅n−1a1+a2+…+an−1 implies
λan(n−1)=a1+a2+…+an−1
for all n>20242024. Therefore
an+1=λ⋅na1+a2+…+an=λ(na1+a2+…+an−1+nan)=λ(λnan(n−1)+nan)=an(nn−1+nλ)=an(1+nλ−1)
Hence for all n>20242024 and positive integers k we have
an+k=an⋅(1+nλ−1)(1+n+1λ−1)…(1+n+k−1λ−1).
This implies that
anan+k=(1+nλ−1)(1+n+1λ−1)…(1+n+k−1λ−1)>nλ−1+n+1λ−1+…+n+k−1λ−1=(λ−1)⋅(n1+n+11+…+n+k−11).
As the sequence (1+21+31+…+m1)m≥1 is unbounded and λ−1>0, the ratio anan+k is unbounded, implying that the sequence (an)n≥1 is also unbounded.
Now it remains to show that for all λ≤1 every such sequence is bounded. To this end, define M=max(a1,a2,…,a20242024). We will show by induction on n that an≤M for all n. This holds trivially for n=1,2,…,20242024. For the induction step, assume the desired inequality for some n≥20242024 and note that
an+1=λ⋅na1+a2+…+an≤na1+a2+…+an≤max(a1,a2,…,an)=M
The required result follows.