Jump to content

Faulhaber's triangle: Difference between revisions

m
(Added solution using C)
Line 2,029:
 
=={{header|zkl}}==
{{libheader|GMP}} GNU Multiple Precision Arithmetic Library
Uses the code from [[Faulhaber's formula#zkl]]
and GMP (Gnu Multi Precision library).
<lang zkl>foreach p in (10){
faulhaberFormula(p).apply("%7s".fmt).concat().println();
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.