I have been given the following recursive sequence: $$a_0=0,\quad\text{and}\quad a_k=k+a_k-1\ \text{for each integer $k\ge 1$}$$ and I need to give the explicit formula.
I have written out the sequence and can recognize the pattern but can't figure out how to write an explicit formula so any help would be appreciated.
Thanks in advance :)