Find, with proof, all pairs of positive integers (n, d) with the following property: for

every integer S, there exists a unique non-decreasing sequence of n integers a1, a2, . . . , an ,such that a1 + a2 + · · · + an = S and an − a1 = d.

Submit detailed solution

Thanks

# Doubt from sequence

**Tushar_2019**#1