for x in range(0,21): y = (2*x**2+x)/(x**2+2*x+1) print(y)