Number Sequence Calculation

A sequence of positive integers is constructed by listing the first 4, then skipping one, listing the next 5, skipping 2, listing 6, skipping 3, and, on the $ n $th iteration, listing $ n + 3 $ and skipping $ n $. The sequence begins 1, 2, 3, 4, 6, 7, 8, 9, 10, 13. What is the 500,000th number in the sequence?

  • 1
  • 2
  • 3
  • +
  • 4
  • 5
  • 6
  • -
  • 7
  • 8
  • 9
  • $\frac{a}{b}$
  • .
  • 0
  • =
  • %
  • $a^n$
  • $a^{\circ}$
  • $a_n$
  • $\sqrt{}$
  • $\sqrt[n]{}$
  • $\pi$
  • $\ln{}$
  • $\log$
  • $\theta$
  • $\sin{}$
  • $\cos{}$
  • $\tan{}$
  • $($
  • $)$
  • $[$
  • $]$
  • $\cap$
  • $\cup$
  • $,$
  • $\infty$