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.

A199221 Triangle read by rows: T(n,k) = (n+1-k)*|s(n,n+1-k)| - 2*|s(n-1,n-k)|, where s(n,k) are the signed Stirling numbers of the first kind and 1 <= k <= n.

This page as a plain text file.
%I A199221 #26 Sep 30 2018 07:08:17
%S A199221 -1,0,1,1,4,2,2,12,18,6,3,28,83,88,24,4,55,270,575,500,120,5,96,705,
%T A199221 2490,4324,3288,720,6,154,1582,8330,23828,35868,24696,5040,7,232,3178,
%U A199221 23296,98707,242872,328236,209088,40320,8,333,5868,57078,334740,1212057,2658472,3298932,1972512,362880,9,460,10140,126300,977865,4873680,15637290,31292600,36207576,20531520,3628800
%N A199221 Triangle read by rows: T(n,k) = (n+1-k)*|s(n,n+1-k)| - 2*|s(n-1,n-k)|, where s(n,k) are the signed Stirling numbers of the first kind and 1 <= k <= n.
%C A199221 Use the T(n,k) as coefficients to generate a polynomial of degree n-1 in d as Sum_{k=1..n} T(n,k)d^(k-1) and let f(n) be the greatest root of this polynomial. Then a polygon of n sides that form a harmonic progression in the ratio 1 : 1/(1+d) : 1/(1+2d) : ... : 1/(1+(n-1)d) can only exist if the common difference d of the denominators is limited to the range f(n) < d < g(n). The higher limit g(n) is the greatest root of another group of polynomials defined by coefficients in the triangle A199220.
%F A199221 The triangle of coefficients can be generated by expanding the equation (Sum_{k=1..n} 1/(1+(k-1)d)) - 2/(1+(n-1)d) = 0 into a polynomial of degree n-1 in d.
%e A199221 Triangle starts:
%e A199221   -1;
%e A199221    0,  1;
%e A199221    1,  4,   2;
%e A199221    2, 12,  18,   6;
%e A199221    3, 28,  83,  88,  24;
%e A199221    4, 55, 270, 575, 500, 120;
%t A199221 Flatten[Table[(n+1-k)Abs[StirlingS1[n,n+1-k]]-2Abs[StirlingS1[n-1,n-k]],{n,1,20},{k,1,n}]]
%o A199221 (PARI) T(n,k) = (n+1-k)*abs(stirling(n,n+1-k,1)) - 2*abs(stirling(n-1,n-k,1));
%o A199221 tabl(nn) = for (n=1, nn, for (k=1, n, print1(T(n, k), ", ")); print); \\ _Michel Marcus_, Sep 30 2018
%Y A199221 Cf. A094638, A192918, A199220.
%K A199221 sign,tabl
%O A199221 1,5
%A A199221 _Frank M Jackson_, Nov 04 2011