The Stack Overflow podcast is back! Listen to an interview with our new CEO.
1 of 3

J, 11 chars

   f=.#~@i.@>:
   f 5
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5