How many ways are there to express a natural number, $n$, as the sum of three whole numbers, $a,b,c$, where $a,b,c$ are allowed to be 0 but are unique? For example: $n=9$ there are only seven ways: $1+2+6, 1+3+5, 2+3+4, 0+1+8, 0+2+7, 0+3+6, 0+4+5$.
PS: Looking at some previous [answers]Generating function for counting compositions of $n$, I learnt this "thing" is known as partitions of $n$. But I did not find an answer that includes 0 and does not allow repetitions. Number theory is not my area, and all I would like to know is if some analytical formula can determine this.