def parabole(x):
    y = x**2 + 3*x + 1
    return (y)
x = 1
for i in range(1, 21):
    x = i
    print(parabole(x))