Non BJ math question
Find an expression (in terms of n) for the nth element of the sequence 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, ...
The sequence contains exactly k occurrences of k.
This hint was given with the problem: The floor (or ceiling) function will prove useful.

