The answer is 2016.

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

$x^{2}+x+1=0$ $=>x^{3}=1$ $=>\displaystyle \sum_{n=0}^{2015} (x^{3n})=\displaystyle \sum_{n=0}^{2015} 1=2016$