cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A080779 Triangle read by rows: n-th row gives expansion of the series for HarmonicNumber(n, -r).

This page as a plain text file.
%I A080779 #30 Mar 21 2024 09:21:05
%S A080779 1,1,1,1,3,2,0,6,12,6,-4,0,40,60,24,0,-60,0,300,360,120,120,0,-840,0,
%T A080779 2520,2520,720,0,3360,0,-11760,0,23520,20160,5040,-12096,0,80640,0,
%U A080779 -169344,0,241920,181440,40320,0,-544320,0,1814400,0,-2540160,0,2721600,1814400,362880
%N A080779 Triangle read by rows: n-th row gives expansion of the series for HarmonicNumber(n, -r).
%C A080779 The harmonic numbers as used here are defined: HarmonicNumber(n, r) = Zeta(r) - HurwitzZeta(r, n + 1). - _Peter Luschny_, Mar 21 2024
%D A080779 J. H. Silverman, A Friendly Introduction to Number Theory, 3rd ed., Pearson Education, Inc, 2006, pp. 370 - 371.
%H A080779 G. C. Greubel, <a href="/A080779/b080779.txt">Rows n=0..100 of triangle, flattened</a>
%H A080779 Wikipedia, <a href="https://en.wikipedia.org/wiki/Faulhaber%27s_formula">Faulhaber's formula</a>
%F A080779 Row sums are (n + 1)!, last element in row n is n!
%F A080779 Alternative description using Bernoulli polynomials: Let p[x,n]=Sum[k^n,{k,1,x}]; 1/x /. NSolve[p[x,n]-Zeta[n]==0,x] where n>=2. Then t(n,m) = CoefficientList[Expand[n!*(BernoulliB[n + 1, x + 1] - BernoulliB[n + 1])/x], x]. - _Roger L. Bagula_ and _N. J. A. Sloane_, Feb 18 2008
%F A080779 From _Wolfdieter Lang_, Feb 04 2016: (Start)
%F A080779 The row polynomials R(n, x) = (n+1)!*F(n, x)/x with F(n,x) = (Sum_{k=1..m} k^n)|_{m=x} satisfy the recurrence R(n, x) = n!*(((x + 1)^(n+1) - 1)/x - Sum_{k=0..n-1} (binomial(n+1, k)*R(k, x)/(k+1)!)), n >= 1, and R(0, x) = 1. See the Silverman reference, pp. 370 - 371, for F(n, x).
%F A080779 t(n, m) = [x^m] ((Bernoulli(n+1, x+1) - Bernoulli(n+1, 1))/x). See a comment above. For these Bernoulli polynomials see A264388 and A264389. (End)
%F A080779 t(n, m) = t(n-1, m-1) * n/(m+1). - _Michael Somos_, Aug 18 2018
%F A080779 T(n, k) = [x^k] n!*Sum_{j=0..n} binomial(n+1, j)*Bernoulli(j, 1)*x^(n - j). - _Peter Luschny_, Mar 21 2024
%e A080779 The triangle t(n, m) begins:
%e A080779 n\m  0    1    2      3    4      5     6    7 ...
%e A080779 0:   1
%e A080779 1:   1    1
%e A080779 2:   1    3    2
%e A080779 3:   0    6   12      6
%e A080779 4:  -4    0   40     60   24
%e A080779 5:   0  -60    0    300  360    120
%e A080779 6: 120    0 -840      0 2520   2520   720
%e A080779 7:   0 3360    0 -11760    0  23520 20160 5040
%e A080779 ...
%e A080779 Row n=8: -12096    0 80640      0 -169344 0 241920 181440 40320;
%e A080779 Row n=9: 0 -544320 0 1814400 0 -2540160 0 2721600 1814400 362880;
%e A080779 Row n=10: 3024000 0 -19958400 0 39916800 0 -39916800 0 33264000 19958400 3628800.
%e A080779 ... Reformatted and extended. - _Wolfdieter Lang_, Feb 04 2016
%p A080779 RowPoly := n -> local j; n!*add(binomial(n + 1, j) * bernoulli(j, 1) * x^(n - j), j = 0..n): seq(lprint(seq(coeff(RowPoly(n), x, k), k = 0..n)), n = 0..8);
%p A080779 # _Peter Luschny_, Mar 21 2024
%t A080779 Table[(n+1)! CoefficientList[Sum[k^n, {k, 0, m}]/m, m], {n,1,12}] and for n=0: 1.
%t A080779 a = Join[{{1}}, Table[CoefficientList[Expand[n!*(BernoulliB[n + 1, x + 1] - BernoulliB[n + 1])/x], x], {n, 1, 10}]] Flatten[a] (* _Roger L. Bagula_ and _N. J. A. Sloane_, Feb 18 2008 *)
%t A080779 T[n_, k_] := Coefficient[ 1/x Integrate[ BernoulliB[n, x + 1], x], x, k]; (* _Michael Somos_, Aug 18 2018 *)
%Y A080779 Cf. A264388, A264389, A103438.
%K A080779 easy,sign,tabl
%O A080779 0,5
%A A080779 _Wouter Meeussen_, Mar 11 2003