In a book "Which Way did the Bicycle Go" there is the following problem:
Find a quadratic polynomial with integer coefficients $p(x)=ax^2+bx+c$ such that $p(1),p(2),p(3),$ and $p(4)$ are perfect squares but $p(5)$ is not.
Does anyone knows some generalizations of this? For example, are the following problems open:
Find all quadratic polynomial with integer coefficients $p(x)=ax^2+bx+c$ such that $p(1),p(2),p(3),$ and $p(4)$ are perfect squares but $p(5)$ is not.
Find a/all quadratic polynomial with integer coefficients $p(x)=ax^2+bx+c$ such that $p(1),p(2),p(3),\ldots, p(n-1)$ are perfect squares but $p(n)$ is not.