Question 7In how many ways can 2017 be expressed as the sum of one or more positive integers in non-decreasing order, such that the difference between the last term and the first term is at most 1?