試求最大的正整數 L 使得存在正整數數列 a1,a2,…,aL 滿足:
(a) 數列中的每一項都小於或等於 22024;
(b) 不存在連續子數列 ai,ai+1,…,aj (其中 1≤i≤j≤L) 使得我們可以適當選取 si,si+1,…,sj∈{−1,1} 讓
siai+si+1ai+1+⋯+sjaj=0.
Determine the maximum positive integer L such that there exist a sequence a1,a2,…,aL of positive integers satisfying:
(a) every term in the sequence is less than or equal to 22024;
(b) there does NOT exist a consecutive subsequence ai,ai+1,…,aj (where 1≤i≤j≤L) with a choice of signs si,si+1,…,sj∈{−1,1} for which
siai+si+1ai+1+⋯+sjaj=0.