## how many consecutive integers $x$ can make $ax^2+bx+c$ square ?

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

The following problem was raised in a Mathlinks thread:

If $a,b,c\in\mathbb Z$ such that $a\ne0$ and $b^2-4ac\ne 0$, for how many consecutive integers $x$ can $ax^2+bx+c$ ba a perfect square ?

The polynomial $-15x^2+64$ is obviously a square for the five numbers $x=-2,...,2$, but the method used for finding this in the above thread cannot be extended further. Should $5$ really be the best possible answer?

Has this problem been treated somewhere else?

-
For starters $15w^2-14$ is a square for $w=\pm1,\pm3,\pm5$ so you get six by taking $w=2x+1$. But eventually you get to surfaces of general type. See my answer to mathoverflow.net/questions/73346 . – Noam D. Elkies Feb 11 2012 at 23:01

4
...and if I did it right, you can get to $w = \pm 7$ using points on an elliptic curve of (conductor 360 and) rank 1. That might be the maximum. FWIW $0,\pm1,\pm2,\pm3$ seems to give a curve of conductor 30 with 12 torsion points but rank zero. – Noam D. Elkies Feb 11 2012 at 23:12

## 1 Answer

To resonate with Noam Elkies' comments, it is conjectured that $8$ squares is the maximum for arbitrary $a$, and $4$ squares is the maximum for $a=1$. For $5$ symmetric squares the smallest known leading coefficients are $a=15$ and $a=-20$, while for $5$ increasing squares they are $a=60$ and $a=-56$. It is known that there are infinitely many examples with $5$ or $8$ symmetric squares, or with $6$ increasing squares. It is also known that there is no symmetric sequence of $7$ squares, and only finitely many of $10$ squares up to obvious equivalences (this one follows from Falting's theorem applied to a specific hyperelliptic curve).

Good starters are:

Browkin-Brzeziński: On sequences of squares with constant second differences, Canad. Math. Bull. 49 (2006), 481–491.

Bremner: On square values of quadratics, Acta Arith. 108 (2003), 95–111.

-

4
A recent paper of Gonzales-Jimenez and Xarles [Acta Arith. 149 (2011)] (apologies for the lack of accents) gets a (sharp) upper bound of $8$ for those quadratics with an axis of symmetry half-way between two integers. – Mike Bennett Feb 12 2012 at 4:42
@Mike: That's great, thank you! – GH Feb 12 2012 at 7:19
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 31, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9268357753753662, "perplexity_flag": "middle"}