Yes, that's right. Generally in problems like this you can take whatever equations you have (here is is that [itex]w_1+ w_2+ ...+ w_{n-1}= 0[/itex]) and solve for as many of the numbers as you can in terms of the others. Then take each of those "others" 1 in turn.
Since here you have only one equation, you can solve for one of them, say [itex]w_1= -(w_2+ ...+ w_{n-1})[/itex]. Now let [itex]w_2= 1[/itex], [itex]w_2= ...= w_{n-1}= 0[/itex] and you get [itex]w_1= -1[/itex] so your first basis vector is (-1,1,0, ..., 0) as you say. Taking [itex]w_3= 1[/itex], [itex]w_2= w_4= ...= w_n= 0]/itex] you get [itex]w_1= -1[/itex] you get (-1, 0, 1, 0, ...,0), again as you have.<br />
<br />
Because this is a set of polynomials, it would be better to write the "vectors" in that way: the basis is the set<br />
[tex]\{x-1, x^2- 1, x^3- 1, \cdot\cdot\cdot, x^{n-1}-1\}[/tex][/itex]