#aising2020c. [aising2020_c]XYZ Triplets
[aising2020_c]XYZ Triplets
Problem Statement
Let be the number of triples of integers that satisfy both of the following conditions:
Given an integer , find each of .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print lines. The -th line should contain the value .
Sample Input 1
20
Sample Output 1
0
0
0
0
0
1
0
0
0
0
3
0
0
0
0
0
3
3
0
0
- For , only satisfies both of the conditions. Thus, .
- For , three triples, , , and , satisfy both of the conditions. Thus, .
- For , three triples, , , and , satisfy both of the conditions. Thus, .
- For , three triples, , , and , satisfy both of the conditions. Thus, .