Skip to main content
OlympiadHQ

Browse · MathNet

Print

Second Round

Netherlands algebra

Problem

For how many integers with is the number a square?
Solution
We want for some integer .

Then .

So .

We require to be an integer with .

Let us analyze when is an integer.

Note that must be odd, since only when is odd.

Let for integer .

Then:

,

So

Therefore,



We require .

So

Multiply both sides by :



Now, increases rapidly. Let's find the largest such that .

Solve

The positive root is

So can be at most .

Now, must be a positive integer such that .

For , .

So runs from to inclusive.

Thus, the number of such is .

Answer:
Final answer
39

Techniques

IntegersFactorization techniquesLinear and quadratic inequalities