What's the next number?

What's the next number?

f(x)=x^2+(-1)^(x)
X starts with - 1
The results are as follows
-1 0 1 2 3 4 5 6
0 1 0 5 8 17 24 37
This is a civil servant's question. Your seventh number is wrong