f(x)=s=0n-1asx-s+O(x-n)