RosettaCodeData/Task/Faulhabers-formula/00-TASK.txt

19 lines
813 B
Plaintext

In mathematics,   Faulhaber's formula,   named after Johann Faulhaber,   expresses the sum of the ''p''-th powers of the first ''n'' positive integers as a ''(p + 1)''th-degree polynomial function of n,   the coefficients involving [[Bernoulli numbers]].
;Task:
Generate the first 10 closed-form expressions, starting with ''p = 0''.
;Related tasks:
:*   [[Bernoulli numbers]].
:*   [[Evaluate_binomial_coefficients|evaluate binomial coefficients]].
;See also:
:*   The Wikipedia entry:   [[wp:Faulhaber's formula|Faulhaber's formula]].
:*   The Wikipedia entry:   [https://en.wikipedia.org/wiki/Bernoulli_number Bernoulli numbers].
:*   The Wikipedia entry:   [https://en.wikipedia.org/wiki/Binomial_coefficient binomial coefficients].
<br><br>