How many possible arithmetic progressions of length $k$ exist where all elements are in the set $\left\{1,2,\dots,n\right\}$? We can assume the step of the progression to be a natural number.
Example: For $k=3$, $n=5$ we have four progressions: $(1,2,3), (2,3,4), (3,4,5), (1,3,5)$.
Additional (related) question: For a fixed $k$-element progression $A = (\alpha_1,\alpha_2, \dots, \alpha_k)$, what is the highest possible number of different $k$-element progressions that contain the element $\alpha_i$, where $1\leq i \leq k$?
Example: For $k=3$, $n=5$ we can see that the element $3$ appears in every progression, so the highest possible number of progressions is $4$.