A sequence of natural numbers is built by listing the first $3$, skipping $1$, listing the next $4$, skipping $2$, and so on: on the $n$th iteration, list $n+2$ numbers and skip $n$. What is the $1000$th number in the sequence?
After $n$ iterations, $3+4+\cdots+(n+2)=\frac{n(n+5)}2$ numbers are listed and $\frac{n(n+1)}2$ skipped. For $n=42$: $987$ listed (while $n=43$ gives $1032$) and $903$ skipped, so the numbers $1,\dots,1890$ are used up.
The $43$rd iteration lists $1891,1892,\dots$, and we need $1000-987=13$ more.