Faulhaber's formula: Difference between revisions
→{{header|Sidef}}: switched to built-in polynomials
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(→{{header|Sidef}}: switched to built-in polynomials) Tag: Made through Tor |
||
Line 2,824:
=={{header|Sidef}}==
<syntaxhighlight lang="ruby">
(p+1).of { |j|
Poly
}.sum / (p+1)
}
Line 2,849 ⟶ 2,835:
{{out}}
<pre>
0:
1: 1/2
2: 1/3
3: 1/4
4: 1/5
5: 1/6
6: 1/7
7: 1/8
8: 1/9
9: 1/10
</pre>
|