Assume 1≤a1<a2<⋯<am≤n.
For even m we can group the elements of A in pairs of the form (ai,am+1−i), with 1≤i≤2m. We prove that the sum of the numbers in each pair is at least n+1. Assuming the contrary to be true, it would exist an i for which ai+am+1−i≤n. But, as i<m+1−i, the following i distinct numbers
a1+am+1−i<a2+am+1−i<⋯<ai+am+1−i
have to belong to the set {am+2−i,am+3−i,…,am}, which has only i−1 elements, a contradiction. Adding
ai+am+1−i≥n+1,for 1≤i≤2m,
the conclusion follows immediately.
For m=2k−1,k>2, it can be shown, as above, that ai+am+1−i≥n+1, 1≤i≤k−1.
We now prove that ak≥2n+1. Suppose 2ak<n+1. Consider
ak−1<a1+ak−1<a1+ak<a2+ak<⋯<ak−1+ak<n+1.
It follows that a1+ak−1, a1+ak<a2+ak, ..., ak−1+ak must all belong to A, hence they must be equal to ak, ak+1, ..., am, respectively.
We obtain that n+1≤a1+a2k−1=a1+(ak−1+ak)=(a1+ak−1)+ak=2ak, which contradicts the assumption we have made.