# Good problem!

Find the number of integers or find all integers for which $$x^{2}+bx+c$$ becomes a perfect square of an integer, where $$b,c$$ are integers.I think this would be very tough as we are not given any information about $$b,c$$.What do you think.?

Note by Kishan K
4 years, 10 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

If $$c = \left( \frac{b}{2}\right)^2$$, then

$x^2+bx+c=x^2+2\cdot\frac{b}{2}\cdot x+\left( \frac{b}{2}\right)^2=\left( x + \frac{b}{2}\right)^2.$

So, if $$(b,c) \in \{ \dots ,(-6,9),(-4,4),(-2,1),(0,0),(2,1),(4,4),(6,9),\dots \},$$

then it is a perfect square for all $$x \in \mathbb{Z}$$. Furthermore, if $$c$$ is a perfect square, then $$x=0$$ always yields a perfect square, regardless of $$b$$.

I'd say those are the special cases. I wouldn't know a general way to find all perfect squares for some integers $$b,c$$.

- 4 years, 10 months ago

Thnx,I also think that it is very tough.But it would be very helpful if we get some general results...

- 4 years, 10 months ago

As Tim pointed out, there the class of functions of perfect square polynomials yield infinitely many perfect square values. For all of the other cases, there are finitely many solutions.

To deal with the general case, you want to bound $$x^2 + bx +c$$ strictly between 2 consecutive squares, for all but finitely many values of $$x$$. The squares $$(x + \lfloor \frac{b}{2} \rfloor)^2$$ and $$(x + \lceil \frac{ b}{2} \rceil)^2$$ should work.

Staff - 4 years, 10 months ago