Given a real number $x$ and a limit $n$ , we can efficiently find integers $a,b$, such that $|ax+b|$ is as small as possible , if we know $|a|,|b|\le n$.
Those numbers can be determined with the convergents or semiconvergents of continued fractions.
Is this also possible for $|ax^2+bx+c|$ ? Concretely, given a real number $x$ and $|a|,|b|,|c|\le n$, can we efficiently find $a,b,c$, such that $|ax^2+bx+c|$ is as small as possible ? If not, can we at least determine easily whether a given triple $a,b,c$ is optimal ?