"""

(x+y+z)^2 = (x^2+y^2+z^2) + 2(xy+yz+zx)

"""

def func(x, y, z): return (x + y + z) ** 2 - x * y - y * z - z * x





def main():

    num = int(eval(input()))

    counter = [0] * (num + 1)

    # func(41, 41, 41) = 10086

    # func(99, 1, 1) = 10002

    for x in range(1, 100):

        for y in range(1, 100):

            for z in range(1, 123 - x - y + 1):

                if (tmp := func(x, y, z)) <= num:

                    counter[tmp] += 1

    for count in counter[1:]:

        print(count)





if __name__ == '__main__':

    main()

def main():

    num = int(eval(input()))

    counter = [0] * (num + 1)

    # func(41, 41, 41) = 10086

    # func(99, 1, 1) = 10002

    for x in range(1, 100):

        for y in range(1, 100):

            for z in range(1, 123 - x - y + 1):

                tmp = (x + y + z) ** 2 - x * y - y * z - z * x

                if tmp <= num:

                    counter[tmp] += 1

    for count in counter[1:]:

        print(count)





if __name__ == '__main__':

    main()

"""
(x+y+z)^2 = (x^2+y^2+z^2) + 2(xy+yz+zx)
"""


def func(x, y, z):
    return (x + y + z) ** 2 - x * y - y * z - z * x


def main():
    num = int(eval(input()))
    counter = [0] * (num + 1)
    # func(41, 41, 41) = 10086
    # func(99, 1, 1) = 10002
    for x in range(1, 100):
        for y in range(1, 100):
            for z in range(1, 123 - x - y + 1):
                if (tmp := func(x, y, z)) <= num:
                    counter[tmp] += 1
    for count in counter[1:]:
        print(count)


if __name__ == "__main__":
    main()

def main():
    num = int(eval(input()))
    counter = [0] * (num + 1)
    # func(41, 41, 41) = 10086
    # func(99, 1, 1) = 10002
    for x in range(1, 100):
        for y in range(1, 100):
            for z in range(1, 123 - x - y + 1):
                tmp = (x + y + z) ** 2 - x * y - y * z - z * x
                if tmp <= num:
                    counter[tmp] += 1
    for count in counter[1:]:
        print(count)


if __name__ == "__main__":
    main()

-""" -(x+y+z)^2 = (x^2+y^2+z^2) + 2(xy+yz+zx) -""" - - -def func(x, y, z): -    return (x + y + z) ** 2 - x * y - y * z - z * x - - -                if (tmp := func(x, y, z)) <= num: +                tmp = (x + y + z) ** 2 - x * y - y * z - z * x +                if tmp <= num: