If you w(n) is the right hand side, then your tabulated values are not correct. Please give the full formula for w(n).