Faulhaber's formula: Difference between revisions

Content added Content deleted
(Added solution using C)
Line 2,130: Line 2,130:


=={{header|zkl}}==
=={{header|zkl}}==
{{libheader|GMP}} GNU Multiple Precision Arithmetic Library
Uses GMP (Gnu Multi Precision library) and code from the Bernoulli numbers task (copied here).
Uses code from the Bernoulli numbers task (copied here).
<lang zkl>var [const] BN=Import("zklBigNum"); // libGMP (GNU MP Bignum Library)
<lang zkl>var [const] BN=Import("zklBigNum"); // libGMP (GNU MP Bignum Library)