Let
\[f(n) = \left\{ \begin{array}{cl} n^3+2n+1 &\text{ if }n>1, \\ n+1 &\text{ if }n \le 1. \end{array} \right.\]
Find f(0) + f(1) + f(2).
f(0) + f(1) + f(2)
= (0 + 1) + (1 + 1) + (2^3 + 2(2) + 1)
= 1 + 2 + 13
= 16