Determine a) the smallest number b) the biggest number $n \ge 3$ of non-negative integers $x_1, x_2, ... , x_n$, having the sum $2011$ and satisfying: $x_1 \le | x_2 - x_3 | , x_2 \le | x_3 - x_4 | , ... , x_{n-2} \le | x_{n-1} -x_n | , x_{n-1} \le | x_n - x_1 |$ and $x_n \le | x_1 - x_2 | $.