I have the following question:
$\text{b) }$Give a recursive definition for the function $f:\Bbb N\to\Bbb N$ which calculates the following sum for any $x\in\mathbb N$: $$f(x)=20+(20+1)+\ldots+(20+x)$$ For example, $f(2)=20+(20+1)+(20+2)$.
$f(x) = f(x-1)+20+x$
It looks wrong, however it could possibly be right : $=/$.