Consecutive Numbers Sum
Given a positive integer N
, how many ways can we write it as a sum of consecutive positive integers?
Example 1:
Example 2:
Example 3:
Note: 1 <= N <= 10 ^ 9
.
Last updated
Given a positive integer N
, how many ways can we write it as a sum of consecutive positive integers?
Example 1:
Example 2:
Example 3:
Note: 1 <= N <= 10 ^ 9
.
Last updated