Faulhaber's formula: Difference between revisions
m
→{{header|Racket}}
Line 67:
=={{header|Racket}}==
Racket will simplify rational numbers; if this code simplifies the expressions too much for your tastes (e.g. you like <code>1/1 * (n)</code>) then tweak the simplify... clauses to taste.
<lang racket>#lang racket/base
|