MHB What are the possible integers for which a given expression is an integer?

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Integers Positive
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Determine all possible integers $n$ for which $\dfrac{n^2+1}{\lfloor{\sqrt{n}}\rfloor^2+2}$ is an integer.
 
Mathematics news on Phys.org
Let $m=\lfloor n \rfloor$ and $a=n-m^2$. We have $m\ge 1$ since $n\ge 1$. From $n^2+1=(m^2+a)^2+1 \equiv (a-2)^2+1 \pmod {(m^2+2)}$, it follows that the condition of the problem is equivalent to the fact that $(a-2)^2+1$ is divisible by $m^2+2$. Since we have

$0<(a-2)^2+1\le max{2^2,\,(2m-2)^2}+1\le 4m^2+1<4(m^2+2)$,

we see that $(a-2)^2+1=k(m^2+2)$ must hold with $k=1,\,2$ or $3$. We will show that none of these can occur.

Case 1: When $k=1$.

We get $(a-2)^2-m^2=1$ and this implies that $a-2=\pm 1$, $m=0$ must hold, but this contradicts with fact $m\ge 1$.

Case 2: When $k=2$.

We get $(a-2)^2+1=2(m^2+2)$ in this case, but any perfect square is congruent to 0, 1, 4 mod 8 and therefore we have $(a-2)^2+1\equiv 1,\,2,\, 5 \pmod {8}$ while $2(m^2+2)\equiv 4,\,6 \pmod {8}$. Thus, this case cannot occur either.

Case 3: When $k=3$.

We get $(a-2)^2+1=3(m^2+2)$ in this case. Since any perfect square is congruent to 0 or 1 mod 3, we have $(a-2)^2+1\equiv 1,\,2 \pmod {3}$ while $3(m^2+2)\equiv 0 \pmod {8}$, which shows that this case cannot occur either. And then we are done with the proof.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

Back
Top