The sum of the reciprocals of a set of integers with no arithmetic progression of $k$ terms