For n=2, n(n+1)/2=3. Thus a1=1, a2=2 work.
Now suppose that n≥3 and that the set {a1,…,an} has the desired properties. We may assume without loss of generality, that 1≤a1<a2<⋯<an≤2n(n+1). Also let an+1=a1+2n(n+1).
First we note that for any two distinct pairs of integers {i,j} and {k,ℓ}, i<j,k<ℓ, chosen from {1,2,…,n+1}, aj−ai=aℓ−ak for if they are equal, we would have aj+ak=ai+aℓ. In particular, the integers ai+1−ai, i=1,…,n are distinct. Since an+1−a1=2n(n+1), these differences are 1,2,…,n. This also means that aj−ai≥n+1 if j−i≥2.
Let t be the integer such that at+1−at=1. Then since both at+2−at and at+1−at−1 are ≥n+1, at+2−at+1=at−at−2=n which is impossible unless t=1 or t=n. By symmetry, we can take t=1. Then, a2−a1=1 and a3−a2=n. For n=3, this means a3=a2+3. Also we have n(n+1)/2=6. Thus a2+a2≡a3+a3(mod6). So such a set does not exist for n=3.
Now let n≥4 and s be such that as+1−as=2. Then s≥3. By the same argument as before, we have as+2−as+1 and as−as−1 are both either n or n−1. This is possible only when s=3 or n. Thus either a5−a3=n+1 or an+1−an−1=n+1. Therefore one of these equals a3−a1=n+1 which is not possible. Thus the desired set of integers does not exist.