Constructing arithmetic sequences