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

  • MHB
  • Thread starter anemone
  • Start date
  • Tags
    Sequence
In summary, the conversation discusses finding the number of different terms in a finite sequence given by $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$ where $x=1,\,2,\,3,\,\cdots,\,1997$. The correct answer is 1996, as shown by the identity $\displaystyle \frac{x^{2}}{x+1} = \frac{x^{2} - 1 + 1}{x+ 1} = x-1 + \frac{1}{x+1}$ and the values $\left\lfloor \dfrac{1^2}{1998} \right\rfloor =0,\,\left\
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
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
  • #2
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$
 
  • #3
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...:(
 
  • #4
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$.
 
  • #5
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
 
  • #6
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:
 
  • #7
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?
 
  • #8
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
 
  • #9
kaliprasad said:
You are right. Wrongly I presumed that all values are taken. I am wrong fully

Don't worry about it, kali!:)
 

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

1. How do you determine the number of terms in the sequence $\left\lfloor \dfrac{x^2}{1998} \right\rfloor$?

The number of terms in the sequence can be determined by finding the range of values for x that satisfies the given equation. This can be done by solving for x and finding the largest and smallest values that satisfy the equation.

2. What is the formula for finding the number of terms in this sequence?

The formula for finding the number of terms in the sequence is $\left\lfloor \dfrac{x_{max}^2}{1998} \right\rfloor - \left\lfloor \dfrac{x_{min}^2}{1998} \right\rfloor + 1$, where $x_{max}$ and $x_{min}$ are the largest and smallest values of x that satisfy the equation.

3. Can the number of terms in the sequence be negative?

No, the number of terms in the sequence cannot be negative since it represents the number of integers in the range of values for x that satisfy the equation. A negative value would not make sense in this context.

4. Is there a pattern to the sequence of numbers generated by this equation?

Yes, there is a pattern to the sequence of numbers generated by this equation. As x increases, the value of the sequence increases by 1 until it reaches the next multiple of 1998. This pattern continues as x increases.

5. How does changing the value of 1998 affect the number of terms in the sequence?

Changing the value of 1998 will change the range of values for x that satisfy the equation. This will in turn change the number of terms in the sequence, as the formula for finding the number of terms is directly dependent on the value of 1998.

Similar threads

Replies
9
Views
2K
Replies
2
Views
904
Replies
8
Views
2K
Replies
2
Views
2K
Replies
3
Views
1K
Replies
2
Views
1K
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
Replies
1
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
1K
Back
Top