atcoder#ABC190D. [ABC190D] Staircase Sequences
[ABC190D] Staircase Sequences
Score : points
Problem Statement
How many arithmetic progressions consisting of integers with a common difference of have a sum of ?
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
12
4
We have four such progressions:
1
2
We have two such progressions:
963761198400
1920