MHB Find the $2015$th Term in Sequence $1,2,-2,3,-3,3,4,-4,4,-4,5,-5,5,-5,5\cdots$

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    2015
AI Thread Summary
The sequence alternates between positive and negative integers, with each integer appearing a specific number of times based on its value. The pattern begins with 1 appearing once, 2 appearing twice, -2 appearing once, 3 appearing three times, and so forth. This results in a structure where each integer n appears n times, alternating in sign for negative integers. To find the 2015th term, one must calculate the cumulative count of terms up to each integer until reaching or exceeding 2015. The solution reveals that the 2015th term is determined to be 5.
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Find the $2015$th term in the sequence $1,\,2,\,-2,\,3,\,-3,\,3,\,4,\,-4,\,4,\,-4,\,5,\,-5,\,5,\,-5,\,5\cdots$.

_______________________________________________________________________________________________________

Remember to read the http://www.mathhelpboards.com/showthread.php?772-Problem-of-the-Week-%28POTW%29-Procedure-and-Guidelines to find out how to http://www.mathhelpboards.com/forms.php?do=form&fid=2!
 
Physics news on Phys.org
Congratulations to the following members for their correct solutions::)

1. kaliprasad
2. greg1313
3. lfdahl
4. MarkFL

Solution from MarkFL:
To determine the $n$th term $a_n$ of this sequence, it is obvious we must make use of triangular numbers $T(m)$, where:

$$T(n)\equiv\frac{m(m+1)}{2}$$

We see that for:

$$n\in\left[T(m)-(m-1),T(m)\right]=\left[\frac{m^2-m+2}{2},\frac{m(m+1)}{2}\right]$$

we must have:

$$\left|a_n\right|=m$$

We can then observe that we must have:

$$a_n=(-1)^{\frac{2n-m^2+m-2}{2}}m$$

where:

$$m^2-m+2\le2n\le m^2+m$$

For $n=2015$, we then find:

$$63^2-63+2\le2\cdot2015\le63^2+63$$

$$3908\le4030\le4032$$

Hence, for $n=2015$, we have $m=63$, and so:

$$a_{2015}=(-1)^{\frac{2\cdot2015-63^2+63-2}{2}}\cdot63=(-1)^{61}63=-63$$
 
Back
Top