For n=1, S1={1,2}, taking M1={1,2} satisfies the problem's requirements; for n=2, S2={1,2,3,4,5}, taking M2={1,2,4,5} satisfies the problem's requirements; for n=3, S3={1,2,3,⋯,14}, taking M3={1,2,4,5,10,11,13,14} satisfies the problem's requirements, and it is noted that if x,y,z do not form an arithmetic sequence, then for any a, a,a+x,a+y,a+z also do not form an arithmetic sequence, and the elements of M3 have the following relationships: 10=1+32,11=2+32,13=4+32,14=5+32.
Below, we use an inductive construction method to prove that a subset Mn satisfying the conditions exists.
For n=1, as previously stated, M1 satisfies the conditions.
Assume for a positive integer n, there exists a subset Mn of Sn containing 2n elements such that no three elements in Mn form an arithmetic sequence. Let Mn+1=Mn∪{3n+a∣a∈Mn}.
Then Mn+1 contains 2∣Mn∣=2⋅2n=2n+1 elements, and the largest element in Mn+1 does not exceed 21(3n+1)+3n=21(3n+1+1), so Mn+1 is a subset of Sn+1 containing 3n+1 elements. If there exist three numbers x,y,z(x<y<z) in Mn+1 that form an arithmetic sequence, then x,y,z cannot all belong to Mn, nor can they all belong to {3n+a∣a∈Mn}, hence only x∈Mn,z∈{3n+a∣a∈Mn}.
If y∈Mn, then by y⩽21(3n+1),x⩾1, we get
2=2y−x⩽2×21(3n+1)−1=3n,
which contradicts z∈{3n+a∣a∈Mn},z⩾3n+1.
If y∈{3n+a∣a∈Mn}, then by y⩾3n+1,z⩽21(3n+1+1) we get
x=2y−z⩾2(3n+1)−21(3n+1+1)=21(3n+3),
which contradicts x∈Mn,x⩽21(3n+1).
This proves that no three elements in Mn+1 form an arithmetic sequence. Thus, we have used an inductive construction method to prove that a subset Mn satisfying the problem's conditions exists.