Faulhaber's triangle: Difference between revisions
Content added Content deleted
imported>Maxima enthusiast No edit summary |
imported>Maxima enthusiast |
||
Line 2,180: | Line 2,180: | ||
/* Example */ |
/* Example */ |
||
/* triangle_faulhaber_first_ten_rows:block(makelist(faulhaber_row(i),i,0,9),table_form(%%)); |
/* triangle_faulhaber_first_ten_rows:block(makelist(faulhaber_row(i),i,0,9),table_form(%%)); |
||
matrix( |
|||
[[File:Faulhaber.png|thumb]] |
|||
[1, , , , , , , , , ], |
|||
[1/2, 1/2, , , , , , , , ], |
|||
[1/6, 1/2, 1/3, , , , , , , ], |
|||
[0, 1/4, 1/2, 1/4, , , , , , ], |
|||
[-1/30, 0, 1/3, 1/2, 1/5, , , , , ], |
|||
[0, -1/12, 0, 5/12, 1/2, 1/6, , , , ], |
|||
[1/42, 0, -1/6, 0, 1/2, 1/2, 1/7, , , ], |
|||
[0, 1/12, 0, -7/24, 0, 7/12, 1/2, 1/8, , ], |
|||
[-1/30, 0, 2/9, 0, -7/15, 0, 2/3, 1/2, 1/9, ], |
|||
[0, -3/20, 0, 1/2, 0, -7/10, 0, 3/4, 1/2, 1/10] |
|||
) |
|||
*/ |
*/ |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|Nim}}== |
=={{header|Nim}}== |