Hiya I need give a recursive formula for the numbers 1,3,6,10,15,21,34

I found an+1=an+2n+1

Is this right?, and if it isnt what did i do wrong

I also need to give a formula for n in the number series but that excapes me, any ideas or clues would be helpful, Thanks