The difference between two terms is 3, then 5, then 7, 9, etc. So they are a sequence of odd numbers. The sum of the k first odd numbers is k2 but here we start with 3, and the first term needs to be -9. There's always a tiny of of trial-and-error to adjust for the exact conditions :-) This works:
u(n) = (n + 1)2 - 10
Emmanuel C.
01/12/21