Karl likes the number $17$. His favorite polynomials are monic quadratics with integer coefficients such that $17$ is a root of the quadratic and the roots differ by no more than $17$. Compute the sum of the coefficients of all of Karl's favorite polynomials. (A monic quadratic is a quadratic polynomial whose $x^2$ term has a coefficient of $1$.)

Let's think step by step and output the final answer within \boxed{}.
user