# Grox's Sequence VI: a Newton binomial basis **Codex (GPT-6): convert the forcing polynomial with finite differences so the particular-solution equation becomes a recurrence between adjacent coefficients.** Finite differences and Newton expansion are standard methods; their application is implemented in the [program](alternative-newton.cpp). The [power-basis coefficient-matrix method](solution.en.md) remains the reference, with both presented as parallel options. ## A shifted basis Put $T(n)=\sum_{i=0}^k a_i n^i$ . Evaluate it at $1,2,\ldots,k+1$ , then take successive adjacent differences to obtain $$t_j=\Delta^jT(1),\qquad T(n)=\sum_{j=0}^k t_j\binom{n-1}{j}$$ Here $\Delta T(x)=T(x+1)-T(x)$ . Binomial polynomials satisfy $\Delta\binom{x}{j}=\binom{x}{j-1}$ , so successive differences extract exactly the Newton coefficients. These $k+1$ values uniquely determine a polynomial of degree at most $k$ . Use a different shift for the particular solution: $$g(n)=\sum_j c_j\binom nj$$ Pascal's identity gives $$g(n)-\beta g(n-1)=\sum_j\big((1-\beta)c_j+c_{j+1}\big)\binom{n-1}{j}$$ The full triangular system becomes a relation between adjacent coefficients. ## The two beta cases For $\beta\ne1$ , set $c_{k+1}=0$ and solve downward: $$c_j=\frac{t_j-c_{j+1}}{1-\beta}\qquad(j=k,k-1,\ldots,0)$$ For $\beta=1$ , simply set $c_0=0$ and $c_{j+1}=t_j$ , giving a discrete antiderivative of degree at most $k+1$ . No separate basis function is stored for each monomial. Both branches use $$f(n)=g(n)+(\alpha-c_0)\beta^n$$ Starting with $\binom n0=1$ , evaluate a query in linear time using $$\binom n{j+1}=\binom nj\frac{n-j}{j+1}$$ Denominators are at most $k+2