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.

Previous Showing 31-40 of 43 results. Next

A144270 Lower triangular array called S2hat(-1) related to partition number array A144269.

Original entry on oeis.org

1, 1, 1, 3, 1, 1, 15, 4, 1, 1, 105, 18, 4, 1, 1, 945, 129, 19, 4, 1, 1, 10395, 1095, 132, 19, 4, 1, 1, 135135, 11880, 1119, 133, 19, 4, 1, 1, 2027025, 149940, 12057, 1122, 133, 19, 4, 1, 1, 34459425, 2218545, 151560, 12081, 1123, 133, 19, 4, 1, 1
Offset: 1

Views

Author

Wolfdieter Lang, Oct 09 2008

Keywords

Comments

If in the partition array M32hat(-1)=A144269 entries with the same parts number m are summed one obtains this triangle of numbers S2hat(-1). In the same way the Stirling2 triangle A008277 is obtained from the partition array M_3 = A036040.
The first three columns are A001147, A144272, A144273.

Examples

			Triangle begins
    1;
    1,  1;
    3,  1, 1;
   15,  4, 1, 1;
  105, 18, 4, 1, 1;
  ...
		

Crossrefs

Row sums A144271.

Formula

a(n,m)=sum(product(|S2(-1;j,1)|^e(n,m,q,j),j=1..n),q=1..p(n,m)) if n>=m>=1, else 0. Here p(n,m)=A008284(n,m), the number of m parts partitions of n and e(n,m,q,j) is the exponent of j in the q-th m part partition of n. |S2(-1;j,1)|= A001497(j-1,0) = A001147(j-1) = (2*j-3)(!^2) (2-factorials) for j>=2 and 1 if j=1.

A053988 Denominators of successive convergents to tan(1/2) using continued fraction 1/(2-1/(6-1/(10-1/(14-1/(18-1/(22-1/(26-1/30-...))))))).

Original entry on oeis.org

2, 11, 108, 1501, 26910, 590519, 15326584, 459207001, 15597711450, 592253828099, 24859063068708, 1142924647332469, 57121373303554742, 3083411233744623599, 178780730183884614000, 11081321860167101444401, 731188462040844810716466, 51172111020998969648708219
Offset: 1

Views

Author

Vladeta Jovovic, Apr 03 2000

Keywords

Crossrefs

Cf. A001497, A053987 (numerators), A161011 (tan(1/2)).

Programs

  • Magma
    [(&+[ (-1)^k*Factorial(2*n-2*k)/(Factorial(n-2*k)*Factorial(2*k)): k in [0..Floor(n/2)]] ): n in [1..20]]; // G. C. Greubel, May 13 2020
    
  • Maple
    a:= n -> add((-1)^k*(2*n-2*k)!/((n-2*k)!*(2*k)!), k = 0..floor(n/2));
    seq(a(n), n = 1..20); # G. C. Greubel, May 13 2020
  • Mathematica
    Table[Sum[(-1)^k*(2*n-2*k)!/((n-2*k)!*(2*k)!), {k,0,Floor[n/2]}], {n, 20}] (* G. C. Greubel, May 13 2020 *)
  • PARI
    a(n)=sum(k=0,floor(n/2),(-1)^k*(2*n-2*k)!/(n-2*k)!/(2*k)!) \\ Benoit Cloitre, Jan 03 2006
    
  • Sage
    [sum((-1)^k*factorial(2*n-2*k)/(factorial(n-2*k)*factorial(2*k)) for k in (0..floor(n/2))) for n in (1..20)] # G. C. Greubel, May 13 2020

Formula

a(n) = Sum_{k=0..floor(n/2)} (-1)^k*(2*n-2*k)!/((n-2*k)!*(2*k)!) - Benoit Cloitre, Jan 03 2006
From G. C. Greubel, May 13 2020: (Start)
E.g.f.: cos((1 - sqrt(1-4*x))/2)/sqrt(1-4*x) - 1.
a(n) = 2*(2*n-1)*a(n-1) - a(n-2).
a(n) = ((-i)^n/2)*(y(n, 2*i) + (-1)^n*y(n, -2*i)), where y(n, x) are the Bessel Polynomials. (End)
a(n) ~ cos(1/2) * 2^(2*n + 1/2) * n^n / exp(n). - Vaclav Kotesovec, May 14 2020

Extensions

More terms from G. C. Greubel, May 13 2020

A038121 E.g.f.: (1 + 15*x + (45/2)*x^2 + (5/2)*x^3)/(1 - 2*x)^(13/2).

Original entry on oeis.org

1, 28, 630, 13860, 315315, 7567560, 192972780, 5237832600, 151242416325, 4638100767300, 150738274937250, 5179915266025500, 187771928393424375, 7164221267933730000, 287080580807915895000, 12057384393932467590000
Offset: 0

Views

Author

Keywords

Crossrefs

Column 6 of triangle A001497.

Programs

  • Magma
    [Factorial(2*n+6)/ (720*Factorial(n)*2^n): n in [0..20]]; // Vincenzo Librandi, Nov 22 2011
    
  • Mathematica
    Table[(2n+6)!/(6!*n!*2^n),{n,0,20}] (* Vincenzo Librandi, Nov 22 2011 *)
  • PARI
    x='x+O('x^50); Vec(serlaplace((1+15*x+45/2*x^2+5/2*x^3)/(1-2*x)^(13/2))) \\ G. C. Greubel, Aug 13 2017

Formula

a(n) = (2n+6)! / (6!*n!*2^n).
n*a(n) - (n+3)*(2*n+5)*a(n-1) = 0. - R. J. Mathar, Oct 31 2015

A102625 Triangle read by rows: T(n,k) is the sum of the weights of all vertices labeled k at depth n in the Catalan tree (1 <= k <= n+1, n >= 0).

Original entry on oeis.org

1, 1, 2, 3, 6, 6, 15, 30, 36, 24, 105, 210, 270, 240, 120, 945, 1890, 2520, 2520, 1800, 720, 10395, 20790, 28350, 30240, 25200, 15120, 5040, 135135, 270270, 374220, 415800, 378000, 272160, 141120, 40320, 2027025, 4054050, 5675670, 6486480
Offset: 0

Views

Author

Emeric Deutsch, Jan 31 2005

Keywords

Comments

The Catalan tree is defined as follows: the root is labeled 1 and each vertex labeled i has i+1 children labeled 1,2,...,i+1. The weight of a vertex v is the product of all labels on the path from the root to v. Row n contains n+1 terms. Row sums and column 1 yield the double factorials (A001147). T(n,n+1)=(n+1)!, T(n,n)=n(n+1)!/2 (A001286; Lah numbers).
This table counts permutations of the multiset {1,1,2,2,...,n,n} satisfying the condition "the first appearance of i + 1 follows the first appearance of i" by the position of the first appearance of n. Specifically, T(n+1,k) is the number of such permutations for which n first occurs in position 2n+1-k. For example, with n=2 and k=1, T(3,1)=6 counts 121323, 121332, 122313, 122331, 112323, 112332. - David Callan, Nov 29 2007
T(n+1,k) is also the number of rooted complete binary forests with n labeled leaves and k labeled roots. This follows by comparing exponential generating functions; see Example 5.2.6 and Proposition 5.1.3 of Stanley's "Enumerative Combinatorics 2." - Timothy Y. Chow, Mar 28 2017

Examples

			Triangle starts:
   1;
   1,  2;
   3,  6,  6;
  15, 30, 36, 24;
  ...
Production matrix begins:
1, 2
1, 2, 3
1, 2, 3, 4
1, 2, 3, 4, 5
1, 2, 3, 4, 5, 6
1, 2, 3, 4, 5, 6, 7
1, 2, 3, 4, 5, 6, 7, 8
1, 2, 3, 4, 5, 6, 7, 8, 9
... - _Philippe Deléham_, Sep 30 2014
From _Peter Bala_, Apr 16 2017: (Start)
The Catalan tree starts          o1
                                / \
                               /   \
                              /     \
                             /       \
                            /         \
                           o1          o2
                          / \         /|\
                         /   \       / | \
                        /     \     /  |  \
                       o1      o2  o1  o2  o3
Level 2:
2 vertices labeled 1: total weight 1x1x1 + 1x2x1 = 3
2 vertices labeled 2: total weight 2x1x1 + 2x2x1 = 6
1 vertex labeled 3:   total weight 3x2x1         = 6
(End)
		

Crossrefs

Programs

  • Maple
    A102625:=proc(n,k) if k<=n+1 then k*(2*n-k+1)!/2^(n-k+1)/(n-k+1)! else 0 fi end proc:
    for n from 0 to 8 do seq(A102625(n,k),k=1..n+1) od; # yields sequence in triangular form
  • Mathematica
    t[n_, k_] := k*(2n-k+1)!/(2^(n-k+1)*(n-k+1)!); Table[t[n, k], {n, 0, 8}, {k, 1, n+1}] // Flatten (* Jean-François Alcover, Jan 21 2013 *)
  • PARI
    {T(n, k) = my(m = n-k+1); if( k<1 || k>n+1, 0, k * (n+m)! / (2^m * m!))}; /* Michael Somos, Aug 16 2016 */

Formula

T(n,k) = k*(2*n-k+1)!/[2^(n-k+1)*(n-k+1)!] (1 <= k <= n+1).
From Tom Copeland, Nov 11 2007: (Start)
Bivariate G.F.: exp[P(.,t)*x] = D_x {1 - [g(x)/(1+t*g(x))]} = 1 / {(1+g(x))*[1+t*g(x)]^2}, where g(x) = sqrt(1-2*x) - 1 and P(n,t) = Sum_{k=0..n} T(n,k) * t^k.
Also D_x g(x) = -(1-2*x)^(-1/2) = -exp[x*A001147(.)] = -exp[x *(2*(.)-1)!! ], so the coefficients of x^n/n! in the expansion of g(x) are -(2*(n-1)-1)!! = -A001147(n-1) for n > 0.
See A132382 for an array which is essentially the revert from which this G.f. may be derived and for connections to other arrays. (End)
E.g.f.: 1/(1 - x + x*sqrt(1-2*z)) = 1 + x*z + (x+2*x^2)*z^2/2! + (3*x+6*x^2+6*x^3)*z^3/3! + .... T(n,k) gives the number of plane recursive trees on n+2 nodes where the root has degree k (Bergeron et al., Corollary 5). - Peter Bala, Jul 09 2012
From Peter Bala, Jul 09 2014: (Start)
T(n,k) = k!*A001497(n,k) modulo offset differences.
The n-th row polynomial R(n,x) = (-1)^n/(x - 1)*( Sum_{k = 1..infinity} k*(k - 2)*...*(k - 2*n)*(x/(x - 1))^k ). Cf. the Dobinski-type formula for the row polynomials of A001497. (End)
From Tom Copeland, Aug 06 2016: (Start)
From the 2007 formulas above, an alternate g.f. for this entry is GF(x,t) = -g(x) / [1 + t*g(x)] = x + (1 + 2*t)*x^2/2! + (3 + 6*t + 6*t^2)*x^3/3! + ... with compositional inverse GFinv(x,t) = {1 - [1 - x / (1+t*x)]^2} / 2 = -(1/2)[x / (1+t*x)]^2 + x / (1+t*x) = Sum_{n>0} (-1)^(n+1) [(n-1)/2*t^(n-2) + t^(n-1)]*x^n, a series containing the Lah numbers A001286 when expressed as an e.g.f.
From A145271, with K(x,t) = 1 / dGinv(x,t)/dx = 1 + (1+2*t) x + (1+t+t^2) x^2 + x^3 / [1-(1-t)*x], then [K(x,t) d/dx]^n x evaluated at x=0 gives the n-th row polynomial of this entry.
Since the reciprocal of Bala's e.g.f. above generates a shifted, signed A001147, for the polynomials P(n,t) generated by Bala's e.g.f., umbrally (P(.,t) + a.)^n = 0 for n > 0 with a_0 = 1 and a_n = -t * A001147(n-1) for n > 0. E.g., (P(.,t) + a.)^2 = a_0 * P(2,t) + 2 a_1 * P(1,t) + a_2 * P(0,t) = 1 * (t + 2*t^2) + 2 * -t * t + -t * 1 = 0. (End)
From Peter Bala, Apr 16 2017: (Start)
T(n,k) = k*T(n-1,k-1) + (2*n - k)*T(n-1,k).
E.g.f.: t*x*c(x/2)/(1 - t*x*c(x/2)) = t*x + (t + 2*t^2)*x^2/2! + (3*t + 6*t^2 + 6*t^2)*x^3/3! + ..., where c(x) = (1 - sqrt(1 - 4*x))/(2*x) is the g.f. for the Catalan numbers A000108. Note that the related g.f. t*x*c(x)/(1 - t*x*c(x)) is the o.g.f. for A033184 (essentially the same as the Riordan array A106566) and enumerates the number of vertices labeled k on the n_th level of the Catalan tree (k >= 1, n >= 0). (End)

A107102 Matrix inverse of A100862.

Original entry on oeis.org

1, -1, 1, 2, -3, 1, -7, 12, -6, 1, 37, -67, 39, -10, 1, -266, 495, -310, 95, -15, 1, 2431, -4596, 3000, -1010, 195, -21, 1, -27007, 51583, -34566, 12320, -2660, 357, -28, 1, 353522, -680037, 463981, -171766, 39795, -6062, 602, -36, 1, -5329837, 10306152, -7124454, 2709525, -658791, 108927, -12432, 954
Offset: 0

Views

Author

Paul D. Hanna, May 21 2005

Keywords

Comments

Column 0 is signed A001515 (Bessel polynomial). Column 1 is A107103. Row sums are zeros for n>0. Absolute row sums form A107104, which equals 2*A043301(n-1) for n>0.
The row polynomials p_n(x) of this entry are (-1)^n B_n(1-x), where B_n(x) are the modified Carlitz-Bessel polynomials of A001497, e,g, (-1)^2 B_2(1-x) = (1-x) + (1-x)^2 = 2 - 3 x + x^2 = p_2(x). - Tom Copeland, Oct 10 2016

Examples

			Triangle begins:
1;
-1,1;
2,-3,1;
-7,12,-6,1;
37,-67,39,-10,1;
-266,495,-310,95,-15,1;
2431,-4596,3000,-1010,195,-21,1;
-27007,51583,-34566,12320,-2660,357,-28,1; ...
and is the matrix inverse of A100862:
1;
1,1;
1,3,1;
1,6,6,1;
1,10,21,10,1;
1,15,55,55,15,1; ...
		

Crossrefs

Programs

  • PARI
    {T(n,k)=local(X=x+x*O(x^n),Y=y+y*O(y^n));(matrix(n+1,n+1,m,j,if(m>=j, (m-1)!*polcoeff(polcoeff(exp(X+Y*X^2/2+X*Y),m-1,x),j-1,y)))^-1)[n+1,k+1]}

Formula

E.g.f.: exp((1-y)*(1-sqrt(1+2*x))). [Vladeta Jovovic, Dec 13 2008]

A119274 Triangle of coefficients of numerators in Padé approximation to exp(x).

Original entry on oeis.org

1, 2, 1, 12, 6, 1, 120, 60, 12, 1, 1680, 840, 180, 20, 1, 30240, 15120, 3360, 420, 30, 1, 665280, 332640, 75600, 10080, 840, 42, 1, 17297280, 8648640, 1995840, 277200, 25200, 1512, 56, 1, 518918400, 259459200, 60540480, 8648640, 831600, 55440, 2520
Offset: 0

Views

Author

Paul Barry, May 12 2006

Keywords

Comments

n-th numerator of Padé approximation is (1/n!)*sum{j=0..n, C(n,j)(2n-j)!x^j}. Reversal of A113025. Row sums are A001517. First column is A001813. Inverse is A119275.
Also the Bell transform of the quadruple factorial numbers Product_{k=0..n-1} (4*k+2) (A001813) adding 1,0,0,0,... as column 0. For the definition of the Bell transform see A264428 and for cross-references A265606. - Peter Luschny, Dec 31 2015
Dividing each diagonal by its initial element generates A054142. - Tom Copeland, Oct 10 2016

Examples

			Triangle begins
1,
2, 1,
12, 6, 1,
120, 60, 12, 1,
1680, 840, 180, 20, 1,
30240, 15120, 3360, 420, 30, 1
		

Crossrefs

Programs

  • Maple
    # The function BellMatrix is defined in A264428.
    # Adds (1,0,0,0, ..) as column 0.
    BellMatrix(n -> (2*n)!/n!, 9); # Peter Luschny, Jan 27 2016
  • Mathematica
    BellMatrix[f_Function, len_] := With[{t = Array[f, len, 0]}, Table[BellY[n, k, t], {n, 0, len - 1}, {k, 0, len - 1}]];
    rows = 12;
    M = BellMatrix[(2#)!/#!&, rows];
    Table[M[[n, k]], {n, 2, rows}, {k, 2, n}] // Flatten (* Jean-François Alcover, Jun 24 2018, after Peter Luschny *)
  • Sage
    # uses[bell_transform from A264428]
    # Adds a column 1,0,0,0,... at the left side of the triangle.
    def A119274_row(n):
        multifact_4_2 = lambda n: prod(4*k + 2 for k in (0..n-1))
        mfact = [multifact_4_2(k) for k in (0..n)]
        return bell_transform(n, mfact)
    [A119274_row(n) for n in (0..9)] # Peter Luschny, Dec 31 2015

Formula

Number triangle T(n,k) = C(n,k)(2n-k)!/n!.
After adding a leading column (1,0,0,0,...), the triangle gives the coefficients of the Sheffer associated sequence (binomial-type polynomials) for the delta (lowering) operator D(1-D) with e.g.f. exp[ x * (1 - sqrt(1-4t)) / 2 ] . See Mathworld on Sheffer sequences. See A134685 for relation to Catalan numbers. - Tom Copeland, Feb 09 2008

A122850 Exponential Riordan array (1, sqrt(1+2x)-1).

Original entry on oeis.org

1, 0, 1, 0, -1, 1, 0, 3, -3, 1, 0, -15, 15, -6, 1, 0, 105, -105, 45, -10, 1, 0, -945, 945, -420, 105, -15, 1, 0, 10395, -10395, 4725, -1260, 210, -21, 1, 0, -135135, 135135, -62370, 17325, -3150, 378, -28, 1, 0, 2027025, -2027025, 945945, -270270, 51975, -6930, 630, -36, 1
Offset: 0

Views

Author

Paul Barry, Sep 14 2006

Keywords

Comments

Inverse of number triangle A122848. Entries are Bessel polynomial coefficients. Row sums are A000806.
Also the inverse Bell transform of the sequence "g(n) = 1 if n<2 else 0". For the definition of the Bell transform see A264428. - Peter Luschny, Jan 19 2016
Also called Bessel numbers of first kind, and denoted b(n,k). - Abdelhay Benmoussa, Aug 30 2025

Examples

			Triangle begins
  1
  0 1
  0 -1 1
  0 3 -3 1
  0 -15 15 -6 1
  0 105 -105 45 -10 1
  0 -945 945 -420 105 -15 1
  0 10395 -10395 4725 -1260 210 -21 1
  0 -135135 135135 -62370 17325 -3150 378 -28 1
  0 2027025 -2027025 945945 -270270 51975 -6930 630 -36 1
  0 -34459425 34459425 -16216200 4729725 -945945 135135 -13860 990 -45 1
  ...
		

Crossrefs

Programs

  • Maple
    # The function BellMatrix is defined in A264428.
    BellMatrix(n -> (-1)^n*doublefactorial(2*n-1), 9); # Peter Luschny, Jan 27 2016
  • Mathematica
    BellMatrix[f_Function, len_] := With[{t = Array[f, len, 0]}, Table[BellY[n, k, t], {n, 0, len - 1}, {k, 0, len - 1}]];
    rows = 12;
    M = BellMatrix[Function[n, (-1)^n (2n-1)!!], rows];
    Table[M[[n, k]], {n, 1, rows}, {k, 1, n}] // Flatten (* Jean-François Alcover, Jun 26 2018, after Peter Luschny *)
  • Sage
    # uses[bell_matrix from A264428]
    bell_matrix(lambda n: 1 if n<2 else 0, 12).inverse() # Peter Luschny, Jan 19 2016

Formula

T(n,k) = (-1)^(n-k)*A132062(n,k). - Philippe Deléham, Nov 06 2011
Triangle equals the matrix product A039757*A008277. Dobinski-type formula for the row polynomials: R(n,x) = x*exp(-x)*Sum_{k = 0..inf} (k-1)*(k-3)*(k-5)*...*(k-(2*n-3))*x^k/k! for n >= 1. Cf. A001497. - Peter Bala, Jun 23 2014
From Peter Bala, Jan 09 2018: (Start)
Alternative Dobinski-type formula for the row polynomials: R(n,x) = exp(-x)*Sum_{k = 0..inf} k*(k-2)*(k-4)*...*(k-(2*n-2))*x^k/k!.
Equivalently, R(n,x) = x o (x-2) o (x-4) o...o (x-(2*n-2)), where o denotes the white diamond product of polynomials. See the Bala link for the definition and details.
The white diamond products (x-1) o (x-3) o...o (x-(2*n-3)) give the row polynomials of the array with a factor of x removed.
If d is the first derivative operator f -> d/dx(f(x)) and D is the operator f(x) -> 1/x*d/dx(f(x)) then x^(2*n)*D^n = R(n,x*d), with the understanding that (x*d)^k is to interpreted as the operator f(x) -> x^k*d^k(f(x))/dx^k. (End)
Sum_{k=0..n} (-1)^(n+k) * T(n,k) = A144301(n). - Alois P. Heinz, Aug 31 2022

Extensions

More terms from Alois P. Heinz, Aug 31 2022

A065931 Triangle of coefficients of Bessel polynomials {y_n(x)}'.

Original entry on oeis.org

1, 3, 6, 6, 30, 45, 10, 90, 315, 420, 15, 210, 1260, 3780, 4725, 21, 420, 3780, 18900, 51975, 62370, 28, 756, 9450, 69300, 311850, 810810, 945945, 36, 1260, 20790, 207900, 1351350, 5675670, 14189175, 16216200, 45, 1980, 41580, 540540, 4729725, 28378350, 113513400, 275675400, 310134825
Offset: 1

Views

Author

N. J. A. Sloane, Dec 08 2001

Keywords

Examples

			For n = 1 .. 4 the polynomials are
  (y_{1}(x))' =  1;
  (y_{2}(x))' =  3 +  6*x;
  (y_{3}(x))' =  6 + 30*x +  45*x^2;
  (y_{4}(x))' = 10 + 90*x + 315*x^2 + 420*x^3.
		

References

  • J. Riordan, Combinatorial Identities, Wiley, 1968, p. 77.

Crossrefs

Programs

  • GAP
    f:=Factorial;; Flat(List([1..12], n-> List([0..n-1], k-> (f(n+k+1)/(f(k)*f(n-k-1)))*(1/2)^(k+1) ))); # G. C. Greubel, Jul 10 2019
  • Magma
    f:=Factorial; [(f(n+k+1)/(f(k)*f(n-k-1)))*(1/2)^(k+1): k in [0..n-1], n in [1..12]]; // G. C. Greubel, Jul 10 2019
    
  • Mathematica
    Table[(n+k+1)!/(k!*(n-k-1)!)*(1/2)^(k+1), {n,1,12}, {k,0,n-1}]//Flatten (* G. C. Greubel, Jul 10 2019 *)
  • PARI
    for(n=1,12, for(k=0,n-1, print1((n+k+1)!/(k!*(n-k-1)!)*(1/2)^(k+1), ", "))) \\ G. C. Greubel, Jul 10 2019
    
  • Sage
    f=factorial; [[(f(n+k+1)/(f(k)*f(n-k-1)))*(1/2)^(k+1) for k in (0..n-1)] for n in (1..12)] # G. C. Greubel, Jul 10 2019
    

Formula

From G. C. Greubel, Jul 10 2019: (Start)
(y_{n}(x))' = (1/2)*Sum_{k=0..n-1} ((n+k+1)!/(k!*(n-k-1)!))*(x/2)^k.
T(n, k) = ((n+k+1)!/(k!*(n-k-1)!))*(1/2)^(k+1) for 0 <= k <= n-1, n>=1. (End)

A265649 Triangle of coefficients T(n,k) of polynomials p(n,x) = Sum_{k=0..n} T(n,k)*x^k where T(0,0) = 1, and T(n,k) = 0 for k < 0 or k > n, and T(n,k) = T(n-1,k-1) + (2*n-1+k)*T(n-1,k) for n > 0 and 0 <= k <= n.

Original entry on oeis.org

1, 1, 1, 3, 5, 1, 15, 33, 12, 1, 105, 279, 141, 22, 1, 945, 2895, 1830, 405, 35, 1, 10395, 35685, 26685, 7500, 930, 51, 1, 135135, 509985, 435960, 146685, 23310, 1848, 70, 1, 2027025, 8294895, 7921305, 3076290, 589575, 60270, 3318, 92, 1, 34459425, 151335135, 158799690, 69447105, 15457365, 1915515, 136584, 5526, 117, 1
Offset: 0

Views

Author

Werner Schulte, Dec 11 2015

Keywords

Comments

The polynomials p(n,x) satisfy the differential equation: x*y''' + (3*x+1)*y'' + (2*x+2)*y' - 2*n*y = 0 where y' = dy/dx (first derivative).
Appears to be the exponential Riordan array [1/sqrt(1 - 2x), 1/(sqrt(1 - 2x) - 1)]. [Barry, Example 1] - Eric M. Schmidt, Sep 23 2017

Examples

			The triangle T(n,k) begins:
n\k:        0        1        2        3       4      5     6   7  8
  0:        1
  1:        1        1
  2:        3        5        1
  3:       15       33       12        1
  4:      105      279      141       22       1
  5:      945     2895     1830      405      35      1
  6:    10395    35685    26685     7500     930     51     1
  7:   135135   509985   435960   146685   23310   1848    70   1
  8:  2027025  8294895  7921305  3076290  589575  60270  3318  92  1
  etc.
The polynomial corresponding to row 3 is p(3,x) = 15 + 33*x + 12*x^2 + x^3.
		

Crossrefs

Programs

  • Maple
    T := (n, k) -> local j; 2^n*add((-1)^(k-j)*binomial(k, j)*pochhammer((j+1)/2, n), j=0..k) / k!: for n from 0 to 6 do seq(T(n, k), k=0..n) od;  # Peter Luschny, Mar 04 2024
  • Mathematica
    (* The function RiordanArray is defined in A256893. *)
    rows = 10;
    R = RiordanArray[1/Sqrt[1 - 2 #]&, 1/Sqrt[1 - 2 #] - 1&, rows, True];
    R // Flatten (* Jean-François Alcover, Jul 20 2019 *)

Formula

Recurrence: p(0,x) = 1 and p(n+1,x) = (2*n+1+x)*p(n,x) + x*p'(n,x).
T(n,0) = A001147(n), T(n+1,1) = A129890(n), T(n+1,n) = A000326(n+1), and Sum_{k=0..n} (-1)^k*k!*T(n,k) = A000007(n).
Recurrence: k^2*(k+1)*T(n,k+1) = (2*n+2-2*k)*T(n,k-1)-k*(3*k-1)*T(n,k).
Conjecture: T(n,k) = 2^(n-k)*(n-k)!*binomial(n,k)*(Sum_{j=0..n-k} (-1/4)^j* binomial(2*j+k,j)*binomial(n,j+k)).
Conjecture: T(n,k) = (-1)^k*Sum_{j=0..n-1} A001497(n-1,j)*A021009(j+1,k).
T(n,k) = (Sum_{i=0..k} (-1)^(k-i) * binomial(k, i)*Product_{j=1..n} (2*j+i-1))/k!. - Werner Schulte, Mar 03 2024
T(n,k) = (2^n/k!)*(Sum_{j=0..k}(-1)^(k-j)*binomial(k,j)*Pochhammer((j + 1)/2, n)). - Peter Luschny, Mar 04 2024

A334823 Triangle, read by rows, of Lambert's denominator polynomials related to convergents of tan(x).

Original entry on oeis.org

1, 1, 0, 3, 0, -1, 15, 0, -6, 0, 105, 0, -45, 0, 1, 945, 0, -420, 0, 15, 0, 10395, 0, -4725, 0, 210, 0, -1, 135135, 0, -62370, 0, 3150, 0, -28, 0, 2027025, 0, -945945, 0, 51975, 0, -630, 0, 1, 34459425, 0, -16216200, 0, 945945, 0, -13860, 0, 45, 0, 654729075, 0, -310134825, 0, 18918900, 0, -315315, 0, 1485, 0, -1
Offset: 0

Views

Author

G. C. Greubel, May 12 2020, following a suggestion from Michel Marcus

Keywords

Comments

Lambert's numerator polynomials related to convergents of tan(x), g(n, x), are given in A334824.

Examples

			Polynomials:
f(0, x) = 1;
f(1, x) = x;
f(2, x) = 3*x^2 - 1;
f(3, x) = 15*x^3 - 6*x;
f(4, x) = 105*x^4 - 45*x^2 + 1;
f(5, x) = 945*x^5 - 420*x^3 + 15*x;
f(6, x) = 10395*x^6 - 4725*x^4 + 210*x^2 - 1;
f(7, x) = 135135*x^7 - 62370*x^5 + 3150*x^3 - 28*x;
f(8, x) = 2027025*x^8 - 945945*x^6 + 51975*x^4 - 630*x^2 + 1.
Triangle of coefficients begins as:
        1;
        1, 0;
        3, 0,      -1;
       15, 0,      -6, 0;
      105, 0,     -45, 0,     1;
      945, 0,    -420, 0,    15, 0;
    10395, 0,   -4725, 0,   210, 0,   -1;
   135135, 0,  -62370, 0,  3150, 0,  -28, 0;
  2027025, 0, -945945, 0, 51975, 0, -630, 0, 1.
		

Crossrefs

Columns k: A001147 (k=0), A001879 (k=2), A001880 (k=4), A038121 (k=6).

Programs

  • Magma
    C := ComplexField();
    T:= func< n, k| Round( i^k*Factorial(2*n-k)*(1+(-1)^k)/(2^(n-k+1)*Factorial(k)*Factorial(n-k)) ) >;
    [T(n,k): k in [0..n], n in [0..10]];
    
  • Maple
    T:= (n, k) -> I^k*(2*n-k)!*(1+(-1)^k)/(2^(n-k+1)*(k)!*(n-k)!);
    seq(seq(T(n, k), k = 0 .. n), n = 0 .. 10);
  • Mathematica
    (* First program *)
    y[n_, x_]:= Sqrt[2/(Pi*x)]*E^(1/x)*BesselK[-n -1/2, 1/x];
    f[n_, k_]:= Coefficient[((-I)^n/2)*(y[n, I*x] + (-1)^n*y[n, -I*x]), x, k];
    Table[f[n, k], {n,0,10}, {k,n,0,-1}]//Flatten
    (* Second program *)
    Table[ I^k*(2*n-k)!*(1+(-1)^k)/(2^(n-k+1)*(k)!*(n-k)!), {n,0,10}, {k,0,n}]//Flatten
  • Sage
    [[ i^k*factorial(2*n-k)*(1+(-1)^k)/(2^(n-k+1)*factorial(k)*factorial(n-k)) for k in (0..n)] for n in (0..10)]

Formula

Equals the coefficients of the polynomials, f(n, x), defined by: (Start)
f(n, x) = Sum_{k=0..floor(n/2)} ((-1)^k*(2*n-2*k)!/((2*k)!*(n-2*k)!))*(x/2)^(n-2*k).
f(n, x) = ((2*n)!/n!)*(x/2)^n*Hypergeometric2F3(-n/2, (1-n)/2; 1/2, -n, -n+1/2; -1/x^2).
f(n, x) = ((-i)^n/2)*(y(n, i*x) + (-1)^n*y(n, -i*x)), where y(n, x) are the Bessel Polynomials.
f(n, x) = (2*n-1)*x*f(n-1, x) - f(n-2, x).
E.g.f. of f(n, x): cos((1 - sqrt(1-2*x*t))/2)/sqrt(1-2*x*t).
f(n, 1) = (-1)^n*f(n, -1) = A053983(n) = (-1)^(n+1)*A053984(-n-1) = (-1)^(n+1) * g(-n-1, 1).
f(n, 2) = (-1)^n*f(n, -2) = A053988(n+1). (End)
As a number triangle:
T(n, k) = i^k*(2*n-k)!*(1+(-1)^k)/(2^(n-k+1)*(k)!*(n-k)!), where i = sqrt(-1).
T(n, 0) = A001147(n).
Previous Showing 31-40 of 43 results. Next