1. Assumption and Simplification:
- We start by noting that the sequence a1,a2,…,an satisfies the given conditions if and only if the sequence (a1+w,a2+w,…,an+w) also satisfies the conditions for any real number w. Therefore, we can assume without loss of generality that a1=0.
2. Subset and Condition:
- Consider any m-element subset I={i1,i2,…,im} of {1,2,…,n} with i1<i2<⋯<im. We need to ensure that for any such subset, if ∑i∈Ii>k, then m1∑i∈Iai>n1∑i=1nai.
3. Rewriting the Condition:
- Given a1≤a2≤⋯≤an, we can rewrite the sequence as (0,0,…,0,ai1,ai1,…,ai1,ai2,ai2,…,ai2,…,aim,aim,…,aim).
4. Inequality Transformation:
- We need to show that:
mai1+ai2+⋯+aim≥n(∑j=1m−1aij(ij+1−ij))+aim(n−im+1)
Simplifying, we get:
(j=1∑m−1aij(n−m(ij+1−ij)))+aim(n−m(n−im+1))≥0
5. Introducing Differences:
- Let tik=aik−aik−1>0 for k=2,3,…,m. The inequality reduces to:
ai1(mn−m(n−i1+1))+j=2∑mtij((m−(j−1))n−m(n−ij+1))≥0
where ti2,ti3,…,tim>0 and ai1≥0.
6. Non-existence Condition:
- There does not exist such ai1,ti1,ti2,…,tim if and only if:
mn−m(n−i1+1)<0and(m−(j−1))n−m(n−ij+1)<0for all j=2,3,…,m
7. Choosing Indices:
- This means that if i1=1=⌊mn(1−1)+1⌋ and ij=⌊mn(j−1)+1⌋ for all j=2,3,…,m, then there does not exist a1,a2,…,an.
8. **Finding k**:
- Therefore, k≥1+∑j=2m⌊mn(j−1)+1⌋.
- For these values of k, we get that ∑j=1m(ij−⌊mn(j−1)+1⌋)>0.
- This implies there exists h∈{1,2,…,m} such that ih>⌊mn(h−1)+1⌋, then choosing tih→∞ makes the inequality hold.
9. **Smallest Value of k**:
- Hence, the smallest value of k is:
j=1∑m(⌊mn(j−1)+1⌋)=j=1∑m(1+mn(j−1))−(m0+m1+⋯+mm−1)=2(n−1)(m−1)+m
The final answer is 2(n−1)(m−1)+m