There seems to be an extra comma after k+2. See what happens after you remove that.