"Counting in their heads" - 1895 oil painting
|
08-13-2020, 03:50 PM
Post: #22
|
|||
|
|||
RE: "Counting in their heads" - 1895 oil painting
There is also the Faulhaber polynomials, with sum-of-powers formula as function of triangular number.
Let \(\large t = \binom{x}{2},\;{s_{2m} \over (2x-1)t}\) and \(\large {s_{2m+1} \over t^2}\) are polynomial of t, degree m-1 Example, get s4(x) and s5(x) in terms of t, using divided difference. Note: we start from x=2, instead of 0, to avoid divide-by-zero issue. Code: x s4(x) | t s4/(2xt-t) divided-diff Redo previous example, using horners rule for the difference. Code: lua> a,b = 50, 151 -- next line replaced with t's |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)