arithmetic progressions one shot