Values of the Riemann zeta function on vertical arithmetic progressions in the critical strip