Let $m$ be a positive integer. There are only 2 finite sequences of positive integers like $a_1,a_2,...,a_m$ such that $$(\forall n \leq m)\left(n+1\mid2\sum_{k=1}^{n}{a_k}, \quad a_n\in [1,m],\quad a_{n}\notin\{a_1,.., a_{n-1}\}\right)$$
How about real sequences?
Here for any 2 real numbers $a$ and $b$ we define:
1) $a \mid b$ means $(\exists k \in \mathbb{Z})(b=ka)$.
2) $[1,m] =\{x\in \mathbb{R}|1\leq x \leq m\}$.
$$1+2+...+n=\sum_{k=1}^n k=\frac{n(n+1)}{2}=\sum_{k=1}^n a_k$$ $$a_k=k$$