MHB Number of Terms in Sequence $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Sequence
AI Thread Summary
The discussion focuses on determining the number of distinct terms in the sequence defined by the expression $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$ for integer values of $x$ from 1 to 1997. Initial calculations suggested that there could be 1996 distinct terms, but this was challenged by observations that many values yield zero, particularly for $x$ values up to 44. As a result, it was acknowledged that the actual number of distinct terms is less than 1997. Participants clarified misunderstandings and acknowledged the need for a more accurate assessment of the sequence's values. The conversation highlights the importance of careful evaluation in mathematical sequences.
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Find the number of different terms of the finite sequence $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$ where $x=1,\,2,\,3,\,\cdots,\,1997$.
 
Mathematics news on Phys.org
anemone said:
Find the number of different terms of the finite sequence $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$ where $x=1,\,2,\,3,\,\cdots,\,1997$.

[sp]According to the identity $\displaystyle \frac{x^{2}}{x+1} = \frac{x^{2} - 1 + 1}{x+ 1} = x-1 + \frac{1}{x+1}$ the number of different terms are $\displaystyle \left\lfloor \dfrac{1997^2}{1998} \right\rfloor = 1997-1 = 1996$... [/sp]Kind regards $\chi$ $\sigma$
 
chisigma said:
[sp]According to the identity $\displaystyle \frac{x^{2}}{x+1} = \frac{x^{2} - 1 + 1}{x+ 1} = x-1 + \frac{1}{x+1}$ the number of different terms are $\displaystyle \left\lfloor \dfrac{1997^2}{1998} \right\rfloor = 1997-1 = 1996$... [/sp]Kind regards $\chi$ $\sigma$

Hi chisigma,:) thanks for participating but I am sorry, your answer isn't correct...:(
 
We have:
\[
\frac{(k+1)^2}{1998} - \frac{k^2}{1998} = \frac{2k+1}{1998} =: d(k).
\]

$d(k) < 1$ when $1 \leq k \leq 998$. So we have:
\[
\left\lfloor \frac{1^2}{1998} \right\rfloor = 0; \left\lfloor \frac{998^2}{1998} \right\rfloor = 498.
\]
So there are $499$ different values in this range of $k$ (going from $0$ to $498$).

$d(k) > 1$ when $999 \leq k \leq 1997$. For these values of $k$, we know the floor function takes on
all distinct values, so there are $1997 - 999 + 1 = 999$ distinct values for this range of $k$.

The total is therefore $999 + 499 = 1498$.
 
anemone said:
Find the number of different terms of the finite sequence $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$ where $x=1,\,2,\,3,\,\cdots,\,1997$.

x = 1 gives the value 0
x = 1997 gives the value 1996 as 1997 * 1997 - 1 = 1996 * 10998

so 1997 values are taken all values from 0 to 1996
 
magneto said:
We have:
\[
\frac{(k+1)^2}{1998} - \frac{k^2}{1998} = \frac{2k+1}{1998} =: d(k).
\]

$d(k) < 1$ when $1 \leq k \leq 998$. So we have:
\[
\left\lfloor \frac{1^2}{1998} \right\rfloor = 0; \left\lfloor \frac{998^2}{1998} \right\rfloor = 498.
\]
So there are $499$ different values in this range of $k$ (going from $0$ to $498$).

$d(k) > 1$ when $999 \leq k \leq 1997$. For these values of $k$, we know the floor function takes on
all distinct values, so there are $1997 - 999 + 1 = 999$ distinct values for this range of $k$.

The total is therefore $999 + 499 = 1498$.

Well done, magneto and thanks for participating! But having said this, I wanted to give some credit to chisigma as well!:):cool:
 
kaliprasad said:
x = 1 gives the value 0
x = 1997 gives the value 1996 as 1997 * 1997 - 1 = 1996 * 10998

so 1997 values are taken all values from 0 to 1996

Hi kaliprasad, somehow I missed to read your post. Sorry about that!

Hmm, what do you think of the following?:)

$\left\lfloor \dfrac{1^2}{1998} \right\rfloor =0,\,\left\lfloor \dfrac{2^2}{1998} \right\rfloor =0,\cdots,\,\left\lfloor \dfrac{44^2}{1998} \right\rfloor =0$

That surely gives us less than 1997 distinct terms in that sequence when $x$ ranges from 1 to 1997, doesn't it?
 
anemone said:
Hi kaliprasad, somehow I missed to read your post. Sorry about that!

Hmm, what do you think of the following?:)

$\left\lfloor \dfrac{1^2}{1998} \right\rfloor =0,\,\left\lfloor \dfrac{2^2}{1998} \right\rfloor =0,\cdots,\,\left\lfloor \dfrac{44^2}{1998} \right\rfloor =0$

That surely gives us less than 1997 distinct terms in that sequence when $x$ ranges from 1 to 1997, doesn't it?

You are right. Wrongly I presumed that all values are taken. I am wrong fully
 
kaliprasad said:
You are right. Wrongly I presumed that all values are taken. I am wrong fully

Don't worry about it, kali!:)
 
Back
Top