Faulhaber's formula: Difference between revisions
Content added Content deleted
Line 834: | Line 834: | ||
The following function creates the Faulhaber's coefficients up to a given number of rows, according to the [http://www.ww.ingeniousmathstat.org/sites/default/files/Torabi-Dashti-CMJ-2011.pdf paper] of of Mohammad Torabi Dashti: |
The following function creates the Faulhaber's coefficients up to a given number of rows, according to the [http://www.ww.ingeniousmathstat.org/sites/default/files/Torabi-Dashti-CMJ-2011.pdf paper] of of Mohammad Torabi Dashti: |
||
(This is exactly the as than the task [[Faulhaber%27s_triangle#F%C5%8Drmul%C3%A6|Faulhaber's triangle]]) |
|||
[[File:Fōrmulæ - Faulhaber 01.png]] |
[[File:Fōrmulæ - Faulhaber 01.png]] |
||
Line 840: | Line 842: | ||
Notes. The -1 index means the last element (-2 is the penultimate element, and so on). So it retrieves the last row of the triangle. |x| is the cardinality (number of elements) of x. |
Notes. The -1 index means the last element (-2 is the penultimate element, and so on). So it retrieves the last row of the triangle. |x| is the cardinality (number of elements) of x. |
||
(This is exactly the as than the task [[Faulhaber%27s_triangle#F%C5%8Drmul%C3%A6|Faulhaber's triangle]]) |
|||
This function can be used for both symbolic or numeric computation of the polynomial: |
|||
[[File:Fōrmulæ - Faulhaber 06.png]] |
[[File:Fōrmulæ - Faulhaber 06.png]] |