ECS #962: Arithmetic sequence