if $n$ be give postive integers,and let $a=(a_{1},a_{2},\cdots,a_{n})$,and define $$S(a)=\sum_{i=1}^{n}3^{i-1}a_{i},~~~T(a)=\sum_{i=1}^{n}\dfrac{a_{i}}{3^{i-1}}$$ Assmue $m,k$ be postive integer such $m\ge 2k$,and define $$A=\left\{a=(a_{1},a_{2},\cdots,a_{n})|k=S(a),a_{i}\in Z,|a_{i}|\le m,i=1,2,\cdots,n\right\}$$ show that $$\dfrac{\sum_{a\in A}T(a)}{|A|}\le k$$
This question looks very interesting, he cleverly combined with combination of an inequality problem, this is the last question we test today, finally thinking for half an hour, has not found a breakthrough, I guess this question is the result of an article?If you've seen it before, or if you can find it, I will thank you very much