Maths Olympiad Prep

Library / /2 of 10

Algebra Difficulty 4.6 AIME Find the answer Netherlands

For how many integers nn with 1n8001 \le n \le 800 is the number 8n+18n + 1 a square?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

We want 8n+1=k28n + 1 = k^2 for some integer kk.

Then 8n=k21=(k1)(k+1)8n = k^2 - 1 = (k - 1)(k + 1).

So n=(k1)(k+1)8n = \dfrac{(k - 1)(k + 1)}{8}.

We require nn to be an integer with 1n8001 \leq n \leq 800.

Let us analyze when nn is an integer.

Note that kk must be odd, since k21(mod8)k^2 \equiv 1 \pmod{8} only when kk is odd.

Let k=2m+1k = 2m + 1 for integer m1m \geq 1.

Then:

k1=2mk - 1 = 2m, k+1=2m+2k + 1 = 2m + 2

So (k1)(k+1)=2m(2m+2)=4m(m+1)(k - 1)(k + 1) = 2m \cdot (2m + 2) = 4m(m + 1)

Therefore,

n=4m(m+1)8=m(m+1)2n = \dfrac{4m(m + 1)}{8} = \dfrac{m(m + 1)}{2}

We require 1n8001 \leq n \leq 800.

So 1m(m+1)28001 \leq \dfrac{m(m + 1)}{2} \leq 800

Multiply both sides by 22:

2m(m+1)16002 \leq m(m + 1) \leq 1600

Now, m(m+1)m(m + 1) increases rapidly. Let's find the largest mm such that m(m+1)1600m(m + 1) \leq 1600.

Solve m2+m16000m^2 + m - 1600 \leq 0

The positive root is m=1+1+64002=1+80.00625...239.5m = \dfrac{-1 + \sqrt{1 + 6400}}{2} = \dfrac{-1 + 80.00625...}{2} \approx 39.5

So mm can be at most 3939.

Now, mm must be a positive integer such that m(m+1)2m(m + 1) \geq 2.

For m=1m = 1, 12=21 \cdot 2 = 2.

So mm runs from 11 to 3939 inclusive.

Thus, the number of such nn is 3939.

Answer: 3939

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.