Score : 300 points
Let f(n) be the number of triples of integers (x,y,z) that satisfy both of the following conditions:
Given an integer N, find each of f(1),f(2),f(3),\ldots,f(N).
Input is given from Standard Input in the following format:
N
Print N lines. The i-th line should contain the value f(i).
20
0 0 0 0 0 1 0 0 0 0 3 0 0 0 0 0 3 3 0 0