What is the formula for the $n$th term of the interesting sequence?

  • Context: MHB 
  • Thread starter Thread starter alexmahone
  • Start date Start date
  • Tags Tags
    Interesting Sequence
Click For Summary
SUMMARY

The formula for the $n$th term of the sequence defined as $1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, ...$ is given by $a_n=\lfloor\sqrt{2n}+\frac{1}{2}\rfloor$. This sequence is constructed by including each integer $k$ exactly $k$ times, with the integer $k$ first appearing at the $\left[\dfrac{(k-1)k}{2}+1\right]$th position and last appearing at the $\left[\dfrac{(k-1)k}{2}+k\right]$th position. The increments of the sequence occur at indices of the form $n = \frac{k(k + 1)}{2}$, which aligns with the derived formula.

PREREQUISITES
  • Understanding of sequences and series
  • Familiarity with floor functions in mathematics
  • Knowledge of triangular numbers
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the properties of triangular numbers and their applications
  • Explore the concept of floor functions in mathematical sequences
  • Investigate other sequences defined by similar recursive relationships
  • Learn about generating functions and their role in sequence analysis
USEFUL FOR

Mathematicians, students studying sequences, educators teaching combinatorial mathematics, and anyone interested in number theory.

alexmahone
Messages
303
Reaction score
0
Let $a_n$ be the $n$th term of the sequence $1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, ...,$ constructed by including the integer $k$ exactly $k$ times. Show that $a_n=\lfloor\sqrt{2n}+\frac{1}{2}\rfloor$.

(Hints only as this is an assignment problem.)
 
Physics news on Phys.org
Hint: when does the $k$th digit first and last appear in the sequence? Use the triangular numbers.
 
The integer $k$ first appears at the $\left[\dfrac{(k-1)k}{2}+1\right]$th position and last appears at the $\left[\dfrac{(k-1)k}{2}+k\right]$th position.

Not sure where to go from here.
 
So that tells you that the sequence increments immediately after every index of the form $n = (k - 1)k/2 + k = k(k + 1)/2$, and nowhere else, right? So if you can show that the expression you are given $\sqrt{2n} + 1/2$ increments for exactly the same $n$'s, then the floor of that must be equivalent to your sequence.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K