Consider the more general problem of how many ways n may be expressed as a sum of one or more consecutive integers, whether positive, negative, or zero.