A103718 Triangle of coefficients of certain polynomials used with prime numbers as variables in the computation of the array A103728.
1, 2, -1, 5, -4, 1, 17, -17, 7, -1, 74, -85, 45, -11, 1, 394, -499, 310, -100, 16, -1, 2484, -3388, 2359, -910, 196, -22, 1, 18108, -26200, 19901, -8729, 2282, -350, 29, -1, 149904, -227708, 185408, -89733, 26985, -5082, 582, -37, 1, 1389456, -2199276, 1896380, -993005, 332598, -72723, 10320, -915, 46, -1
Offset: 0
Examples
Triangle begins: 1; 2, -1; 5, -4, 1; 17, -17, 7, -1; 74, -85, 45, -11, 1; 394, -499, 310, -100, 16, -1; ...
Links
- W. Lang, Initial section of triangular array.
Crossrefs
Cf. A008275.
Programs
-
Mathematica
a[0, 0] = 1; a[k_, 0] := (k - 1)! + k*a[k - 1, 0]; a[k_, m_]:= If[k
Indranil Ghosh, Mar 11 2017 *) -
PARI
a(k, m) = if(m==0, if(k==0, 1, (k - 1)! + k*a(k - 1, 0)) , if(k
Indranil Ghosh, Mar 11 2017
Formula
a(k, m) = ((-1)^m)*(|S1(k+1, m+1)| + |S1(k+1, m+2)|) = ((-1)^m)*(|S1(k+2, m+2)|-k*|S1(k+1, m+2)|), with the (signed) Stirling number triangle S1(n, m) = A048994(n, m), n >= m >= 0.
a(0, 0)=1, a(k, 0) = (k-1)! + k*a(k-1, 0); a(k, m) = -a(k-1, m-1) + k*a(k-1, m), m > 0 and a(k, m)=0 if k < m.
Let B = (n+1)-st row of Stirling cycle numbers (unsigned, A008275); say a,b,c,d,.... Then n-th row of present triangle = ((a+b), (b+c), (c+d), ..., (d)). E.g., 4th row of the Stirling cycle numbers = (6, 11, 6, 1). Then third row of A103718 = ((6+11), (11+6), (6+1), (1)) = (17, 17, 7, 1). - Gary W. Adamson, May 07 2006
Extensions
More terms from Indranil Ghosh, Mar 11 2017
Comments