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.

Showing 1-10 of 12 results. Next

A049310 Triangle of coefficients of Chebyshev's S(n,x) := U(n,x/2) polynomials (exponents in increasing order).

Original entry on oeis.org

1, 0, 1, -1, 0, 1, 0, -2, 0, 1, 1, 0, -3, 0, 1, 0, 3, 0, -4, 0, 1, -1, 0, 6, 0, -5, 0, 1, 0, -4, 0, 10, 0, -6, 0, 1, 1, 0, -10, 0, 15, 0, -7, 0, 1, 0, 5, 0, -20, 0, 21, 0, -8, 0, 1, -1, 0, 15, 0, -35, 0, 28, 0, -9, 0, 1, 0, -6, 0, 35, 0, -56, 0, 36, 0, -10, 0, 1, 1, 0, -21, 0, 70, 0, -84, 0
Offset: 0

Views

Author

Keywords

Comments

G.f. for row polynomials S(n,x) (signed triangle): 1/(1-x*z+z^2). Unsigned triangle |a(n,m)| has Fibonacci polynomials F(n+1,x) as row polynomials with g.f. 1/(1-x*z-z^2). |a(n,m)| triangle has rows of Pascal's triangle A007318 in the even-numbered diagonals (odd-numbered ones have only 0's).
Row sums (unsigned triangle) A000045(n+1) (Fibonacci). Row sums (signed triangle) S(n,1) sequence = periodic(1,1,0,-1,-1,0) = A010892.
Alternating row sums A049347(n) = S(n,-1) = periodic(1,-1,0). - Wolfdieter Lang, Nov 04 2011
S(n,x) is the characteristic polynomial of the adjacency matrix of the n-path. - Michael Somos, Jun 24 2002
S(n,x) is also the matching polynomial of the n-path. - Eric W. Weisstein, Apr 10 2017
|T(n,k)| = number of compositions of n+1 into k+1 odd parts. Example: |T(7,3)| = 10 because we have (1,1,3,3), (1,3,1,3), (1,3,3,1), (3,1,1,3), (3,1,3,1), (3,3,1,1), (1,1,1,5), (1,1,5,1), (1,5,1,1) and (5,1,1,1). - Emeric Deutsch, Apr 09 2005
S(n,x)= R(n,x) + S(n-2,x), n >= 2, S(-1,x)=0, S(0,x)=1, R(n,x):=2*T(n,x/2) = Sum_{m=0..n} A127672(n,m)*x^m (monic integer Chebyshev T-Polynomials). This is the rewritten so-called trace of the transfer matrix formula for the T-polynomials. - Wolfdieter Lang, Dec 02 2010
In a regular N-gon inscribed in a unit circle, the side length is d(N,1) = 2*sin(Pi/N). The length ratio R(N,k):=d(N,k)/d(N,1) for the (k-1)-th diagonal, with k from {2,3,...,floor(N/2)}, N >= 4, equals S(k-1,x) = sin(k*Pi/N)/sin(Pi/N) with x=rho(N):=R(N,2) = 2*cos(Pi/N). Example: N=7 (heptagon), rho=R(7,2), sigma:=R(N,3) = S(2,rho) = rho^2 - 1. Motivated by the quoted paper by P. Steinbach. - Wolfdieter Lang, Dec 02 2010
From Wolfdieter Lang, Jul 12 2011: (Start)
In q- or basic analysis, q-numbers are [n]_q := S(n-1,q+1/q) = (q^n-(1/q)^n)/(q-1/q), with the row polynomials S(n,x), n >= 0.
The zeros of the row polynomials S(n-1,x) are (from those of Chebyshev U-polynomials):
x(n-1;k) = +- t(k,rho(n)), k = 1..ceiling((n-1)/2), n >= 2, with t(n,x) the row polynomials of A127672 and rho(n):= 2*cos(Pi/n). The simple vanishing zero for even n appears here as +0 and -0.
Factorization of the row polynomials S(n-1,x), x >= 1, in terms of the minimal polynomials of cos(2 Pi/2), called Psi(n,x), with coefficients given by A181875/A181876:
S(n-1,x) = (2^(n-1))*Product_{n>=1}(Psi(d,x/2), 2 < d | 2n).
(From the rewritten eq. (3) of the Watkins and Zeitlin reference, given under A181872.) [See the W. Lang ArXiv link, Proposition 9, eq. (62). - Wolfdieter Lang, Apr 14 2018]
(End)
The discriminants of the S(n,x) polynomials are found in A127670. - Wolfdieter Lang, Aug 03 2011
This is an example for a subclass of Riordan convolution arrays (lower triangular matrices) called Bell arrays. See the L. W. Shapiro et al. reference under A007318. If a Riordan array is named (G(z),F(z)) with F(z)=z*Fhat(z), the o.g.f. for the row polynomials is G(z)/(1-x*z*Fhat(z)), and it becomes a Bell array if G(z)=Fhat(z). For the present Bell type triangle G(z)=1/(1+z^2) (see the o.g.f. comment above). This leads to the o.g.f. for the column no. k, k >= 0, x^k/(1+x^2)^(k+1) (see the formula section), the one for the row sums and for the alternating row sums (see comments above). The Riordan (Bell) A- and Z-sequences (defined in a W. Lang link under A006232, with references) have o.g.f.s 1-x*c(x^2) and -x*c(x^2), with the o.g.f. of the Catalan numbers A000108. Together they lead to a recurrence given in the formula section. - Wolfdieter Lang, Nov 04 2011
The determinant of the N x N matrix S(N,[x[1], ..., x[N]]) with elements S(m-1,x[n]), for n, m = 1, 2, ..., N, and for any x[n], is identical with the determinant of V(N,[x[1], ..., x[N]]) with elements x[n]^(m-1) (a Vandermondian, which equals Product_{1 <= i < j<= N} (x[j] - x[i])). This is a special instance of a theorem valid for any N >= 1 and any monic polynomial system p(m,x), m>=0, with p(0,x) = 1. For this theorem see the Vein-Dale reference, p. 59. Thanks to L. Edson Jeffery for an email asking for a proof of the non-singularity of the matrix S(N,[x[1], ...., x[N]]) if and only if the x[j], j = 1..N, are pairwise distinct. - Wolfdieter Lang, Aug 26 2013
These S polynomials also appear in the context of modular forms. The rescaled Hecke operator T*n = n^((1-k)/2)*T_n acting on modular forms of weight k satisfies T*(p^n) = S(n, T*p), for each prime p and positive integer n. See the Koecher-Krieg reference, p. 223. - _Wolfdieter Lang, Jan 22 2016
For a shifted o.g.f. (mod signs), its compositional inverse, and connections to Motzkin and Fibonacci polynomials, non-crossing partitions and other combinatorial structures, see A097610. - Tom Copeland, Jan 23 2016
From M. Sinan Kul, Jan 30 2016; edited by Wolfdieter Lang, Jan 31 2016 and Feb 01 2016: (Start)
Solutions of the Diophantine equation u^2 + v^2 - k*u*v = 1 for integer k given by (u(k,n), v(k,n)) = (S(n,k), S(n-1,k)) because of the Cassini-Simson identity: S(n,x)^2 - S(n+1,x)*S(n-1, x) = 1, after use of the S-recurrence. Note that S(-n, x) = -S(-n-2, x), n >= 1, and the periodicity of some S(n, k) sequences.
Hence another way to obtain the row polynomials would be to take powers of the matrix [x, -1; 1,0]: S(n, x) = (([x, -1; 1, 0])^n)[1,1], n >= 0.
See also a Feb 01 2016 comment on A115139 for a well-known S(n, x) sum formula.
Then we have with the present T triangle
A039834(n) = -i^(n+1)*T(n-1, k) where i is the imaginary unit and n >= 0.
A051286(n) = Sum_{i=0..n} T(n,i)^2 (see the Philippe Deléham, Nov 21 2005 formula),
A181545(n) = Sum_{i=0..n+1} abs(T(n,i)^3),
A181546(n) = Sum_{i=0..n+1} T(n,i)^4,
A181547(n) = Sum_{i=0..n+1} abs(T(n,i)^5).
S(n, 0) = A056594(n), and for k = 1..10 the sequences S(n-1, k) with offset n = 0 are A128834, A001477, A001906, A001353, A004254, A001109, A004187, A001090, A018913, A004189.
(End)
For more on the Diophantine equation presented by Kul, see the Ismail paper. - Tom Copeland, Jan 31 2016
The o.g.f. for the Legendre polynomials L(n,x) is 1 / sqrt(1- 2x*z + z^2), and squaring it gives the o.g.f. of U(n,x), A053117, so Sum_{k=0..n} L(k,x/2) L(n-k,x/2) = S(n,x). This gives S(n,x) = L(n/2,x/2)^2 + 2*Sum_{k=0..n/2-1} L(k,x/2) L(n-k,x/2) for n even and S(n,x) = 2*Sum_{k=0..(n-1)/2} L(k,x/2) L(n-k,x/2) for odd n. For a connection to elliptic curves and modular forms, see A053117. For the normalized Legendre polynomials, see A100258. For other properties and relations to other polynomials, see Allouche et al. - Tom Copeland, Feb 04 2016
LG(x,h1,h2) = -log(1 - h1*x + h2*x^2) = Sum_{n>0} F(n,-h1,h2,0,..,0) x^n/n is a log series generator of the bivariate row polynomials of A127672 with A127672(0,0) = 0 and where F(n,b1,b2,..,bn) are the Faber polynomials of A263916. Exp(LG(x,h1,h2)) = 1 / (1 - h1*x + h2*x^2 ) is the o.g.f. of the bivariate row polynomials of this entry. - Tom Copeland, Feb 15 2016 (Instances of the bivariate o.g.f. for this entry are on pp. 5 and 18 of Sunada. - Tom Copeland, Jan 18 2021)
For distinct odd primes p and q the Legendre symbol can be written as Legendre(q,p) = Product_{k=1..P} S(q-1, 2*cos(2*Pi*k/p)), with P = (p-1)/2. See the Lemmermeyer reference, eq. (8.1) on p. 236. Using the zeros of S(q-1, x) (see above) one has S(q-1, x) = Product_{l=1..Q} (x^2 - (2*cos(Pi*l/q))^2), with Q = (q-1)/2. Thus S(q-1, 2*cos(2*Pi*k/p)) = ((-4)^Q)*Product_{l=1..Q} (sin^2(2*Pi*k/p) - sin^2(Pi*l/q)) = ((-4)^Q)*Product_{m=1..Q} (sin^2(2*Pi*k/p) - sin^2(2*Pi*m/q)). For the proof of the last equality see a W. Lang comment on the triangle A057059 for n = Q and an obvious function f. This leads to Eisenstein's proof of the quadratic reciprocity law Legendre(q,p) = ((-1)^(P*Q)) * Legendre(p,q), See the Lemmermeyer reference, pp. 236-237. - Wolfdieter Lang, Aug 28 2016
For connections to generalized Fibonacci polynomials, compare their generating function on p. 5 of the Amdeberhan et al. link with the o.g.f. given above for the bivariate row polynomials of this entry. - Tom Copeland, Jan 08 2017
The formula for Ramanujan's tau function (see A000594) for prime powers is tau(p^k) = p^(11*k/2)*S(k, p^(-11/2)*tau(p)) for k >= 1, and p = A000040(n), n >= 1. See the Hardy reference, p. 164, eqs. (10.3.4) and (10.3.6) rewritten in terms of S. - Wolfdieter Lang, Jan 27 2017
From Wolfdieter Lang, May 08 2017: (Start)
The number of zeros Z(n) of the S(n, x) polynomials in the open interval (-1,+1) is 2*b(n) for even n >= 0 and 1 + 2*b(n) for odd n >= 1, where b(n) = floor(n/2) - floor((n+1)/3). This b(n) is the number of integers k in the interval (n+1)/3 < k <= floor(n/2). See a comment on the zeros of S(n, x) above, and b(n) = A008615(n-2), n >= 0. The numbers Z(n) have been proposed (with a conjecture related to A008611) by Michel Lagneau, as the number of zeros of Fibonacci polynomials on the imaginary axis (-I,+I), with I=sqrt(-1). They are Z(n) = A008611(n-1), n >= 0, with A008611(-1) = 0. Also Z(n) = A194960(n-4), n >= 0. Proof using the A008611 version. A194960 follows from this.
In general the number of zeros Z(a;n) of S(n, x) for n >= 0 in the open interval (-a,+a) for a from the interval (0,2) (x >= 2 never has zeros, and a=0 is trivial: Z(0;n) = 0) is with b(a;n) = floor(n//2) - floor((n+1)*arccos(a/2)/Pi), as above Z(a;n) = 2*b(a;n) for even n >= 0 and 1 + 2*b(a;n) for odd n >= 1. For the closed interval [-a,+a] Z(0;n) = 1 and for a from (0,1) one uses for Z(a;n) the values b(a;n) = floor(n/2) - ceiling((n+1)*arccos(a/2)/Pi) + 1. (End)
The Riordan row polynomials S(n, x) (Chebyshev S) belong to the Boas-Buck class (see a comment and references in A046521), hence they satisfy the Boas-Buck identity: (E_x - n*1)*S(n, x) = (E_x + 1)*Sum_{p=0..n-1} (1 - (-1)^p)*(-1)^((p+1)/2)*S(n-1-p, x), for n >= 0, where E_x = x*d/dx (Euler operator). For the triangle T(n, k) this entails a recurrence for the sequence of column k, given in the formula section. - Wolfdieter Lang, Aug 11 2017
The e.g.f. E(x,t) := Sum_{n>=0} (t^n/n!)*S(n,x) for the row polynomials is obtained via inverse Laplace transformation from the above given o.g.f. as E(x,t) = ((1/xm)*exp(t/xm) - (1/xp)*exp(t/xp) )/(xp - xm) with xp = (x + sqrt(x^2-4))/2 and xm = (x - sqrt(x^2-4))/2. - Wolfdieter Lang, Nov 08 2017
From Wolfdieter Lang, Apr 12 2018: (Start)
Factorization of row polynomials S(n, x), for n >= 1, in terms of C polynomials (not Chebyshev C) with coefficients given in A187360. This is obtained from the factorization into Psi polynomials (see the Jul 12 2011 comment above) but written in terms of minimal polynomials of 2*cos(2*Pi/n) with coefficients in A232624:
S(2*k, x) = Product_{2 <= d | (2*k+1)} C(d, x)*(-1)^deg(d)*C(d, -x), with deg(d) = A055034(d) the degree of C(d, x).
S(2*k+1, x) = Product_{2 <= d | 2*(k+1)} C(d, x) * Product_{3 <= 2*d + 1 | (k+1)} (-1)^(deg(2*d+1))*C(2*d+1, -x).
Note that (-1)^(deg(2*d+1))*C(2*d+1, -x)*C(2*d+1, x) pairs always appear.
The number of C factors of S(2*k, x), for k >= 0, is 2*(tau(2*k+1) - 1) = 2*(A099774(k+1) - 1) = 2*A095374(k), and for S(2*k+1, x), for k >= 0, it is tau(2*(k+1)) + tau_{odd}(k+1) - 2 = A302707(k), with tau(2*k+1) = A099774(k+1), tau(n) = A000005 and tau(2*(k+1)) = A099777(k+1).
For the reverse problem, the factorization of C polynomials into S polynomials, see A255237. (End)
The S polynomials with general initial conditions S(a,b;n,x) = x*S(a,b;n-1,x) - S(a,b;n-2,x), for n >= 1, with S(a,b;-1,x) = a and S(a,b;0,x) = b are S(a,b;n,x) = b*S(n, x) - a*S(n-1, x), for n >= -1. Recall that S(-2, x) = -1 and S(-1, x) = 0. The o.g.f. is G(a,b;z,x) = (b - a*z)/(1 - x*z + z^2). - Wolfdieter Lang, Oct 18 2019
Also the convolution triangle of A101455. - Peter Luschny, Oct 06 2022
From Wolfdieter Lang, Apr 26 2023: (Start)
Multi-section of S-polynomials: S(m*n+k, x) = S(m+k, x)*S(n-1, R(m, x)) - S(k, x)*S(n-2, R(m, x)), with R(n, x) = S(n, x) - S(n-2, x) (see A127672), S(-2, x) = -1, and S(-1, x) = 0, for n >= 0, m >= 1, and k = 0, 1, ..., m-1.
O.g.f. of {S(m*n+k, y)}_{n>=0}: G(m,k,y,x) = (S(k, y) - (S(k, y)*R(m, y) - S(m+k, y))*x)/(1 - R(m,y)*x + x^2).
See eqs. (40) and (49), with r = x or y and s =-1, of the G. Detlefs and W. Lang link at A034807. (End)
S(n, x) for complex n and complex x: S(n, x) = ((-i/2)/sqrt(1 - (x/2)^2))*(q(x/2)*exp(+n*log(q(x/2))) - (1/q(x/2))*exp(-n*log(q(x/2)))), with q(x) = x + sqrt(1 - x^2)*i. Here log(z) = |z| + Arg(z)*i, with Arg(z) from [-Pi,+Pi) (principal branch). This satisfies the recurrence relation for S because it is derived from the Binet - de Moivre formula for S. Examples: S(n/m, 0) = cos((n/m)*Pi/4), for n >= 0 and m >= 1. S(n*i, 0) = (1/2)*(1 + exp(n*Pi))*exp(-(n/2)*Pi), for n >= 0. S(1+i, 2+i) = 0.6397424847... + 1.0355669490...*i. Thanks to Roberto Alfano for asking a question leading to this formula. - Wolfdieter Lang, Jun 05 2023
Lim_{n->oo} S(n, x)/S(n-1, x) = r(x) = (x - sqrt(x^2 -4))/2, for |x| >= 2. For x = +-2, this limit is +-1. - Wolfdieter Lang, Nov 15 2023

Examples

			The triangle T(n, k) begins:
  n\k  0  1   2   3   4   5   6    7   8   9  10  11
  0:   1
  1:   0  1
  2:  -1  0   1
  3:   0 -2   0   1
  4:   1  0  -3   0   1
  5:   0  3   0  -4   0   1
  6:  -1  0   6   0  -5   0   1
  7:   0 -4   0  10   0  -6   0    1
  8:   1  0 -10   0  15   0  -7    0   1
  9:   0  5   0 -20   0  21   0   -8   0   1
  10: -1  0  15   0 -35   0  28    0  -9   0   1
  11:  0 -6   0  35   0 -56   0   36   0 -10   0   1
  ... Reformatted and extended by _Wolfdieter Lang_, Oct 24 2012
For more rows see the link.
E.g., fourth row {0,-2,0,1} corresponds to polynomial S(3,x)= -2*x + x^3.
From _Wolfdieter Lang_, Jul 12 2011: (Start)
Zeros of S(3,x) with rho(4)= 2*cos(Pi/4) = sqrt(2):
  +- t(1,sqrt(2)) = +- sqrt(2) and
  +- t(2,sqrt(2)) = +- 0.
Factorization of S(3,x) in terms of Psi polynomials:
S(3,x) = (2^3)*Psi(4,x/2)*Psi(8,x/2) = x*(x^2-2).
(End)
From _Wolfdieter Lang_, Nov 04 2011: (Start)
A- and Z- sequence recurrence:
T(4,0) = - (C(0)*T(3,1) + C(1)*T(3,3)) = -(-2 + 1) = +1,
T(5,3) = -3 - 1*1 = -4.
(End)
Boas-Buck recurrence for column k = 2, n = 6: S(6, 2) = (3/4)*(0 - 2* S(4 ,2) + 0 + 2*S(2, 2)) = (3/4)*(-2*(-3) + 2) = 6. - _Wolfdieter Lang_, Aug 11 2017
From _Wolfdieter Lang_, Apr 12 2018: (Start)
Factorization into C polynomials (see the Apr 12 2018 comment):
S(4, x) = 1 - 3*x^2 + x^4 = (-1 + x + x^2)*(-1 - x + x^2) = (-C(5, -x)) * C(5, x); the number of factors is 2 = 2*A095374(2).
S(5, x) = 3*x - 4*x^3 + x^5 = x*(-1 + x)*(1 + x)*(-3 + x^2) = C(2, x)*C(3, x)*(-C(3, -x))*C(6, x); the number of factors is 4 = A302707(2). (End)
		

References

  • G. H. Hardy, Ramanujan: twelve lectures on subjects suggested by his life and work, AMS Chelsea Publishing, Providence, Rhode Island, 2002, p. 164.
  • Max Koecher and Aloys Krieg, Elliptische Funktionen und Modulformen, 2. Auflage, Springer, 2007, p. 223.
  • Franz Lemmermeyer, Reciprocity Laws. From Euler to Eisenstein, Springer, 2000.
  • D. S. Mitrinovic, Analytic Inequalities, Springer-Verlag, 1970; p. 232, Sect. 3.3.38.
  • Theodore J. Rivlin, Chebyshev polynomials: from approximation theory to algebra and number theory, 2. ed., Wiley, New York, 1990, pp. 60 - 61.
  • R. Vein and P. Dale, Determinants and Their Applications in Mathematical Physics, Springer, 1999.

Crossrefs

Cf. A000005, A000217, A000292, A000332, A000389, A001227, A007318, A008611, A008615, A101455, A010892, A011973, A053112 (without zeros), A053117, A053119 (reflection), A053121 (inverse triangle), A055034, A097610, A099774, A099777, A100258, A112552 (first column clipped), A127672, A168561 (absolute values), A187360. A194960, A232624, A255237.
Triangles of coefficients of Chebyshev's S(n,x+k) for k = 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5: A207824, A207823, A125662, A078812, A101950, A049310, A104562, A053122, A207815, A159764, A123967.

Programs

  • Magma
    A049310:= func< n,k | ((n+k) mod 2) eq 0 select (-1)^(Floor((n+k)/2)+k)*Binomial(Floor((n+k)/2), k) else 0 >;
    [A049310(n,k): k in [0..n], n in [0..15]]; // G. C. Greubel, Jul 25 2022
  • Maple
    A049310 := proc(n,k): binomial((n+k)/2,(n-k)/2)*cos(Pi*(n-k)/2)*(1+(-1)^(n-k))/2 end: seq(seq(A049310(n,k), k=0..n),n=0..11); # Johannes W. Meijer, Aug 08 2011
    # Uses function PMatrix from A357368. Adds a row above and a column to the left.
    PMatrix(10, n -> ifelse(irem(n, 2) = 0, 0, (-1)^iquo(n-1, 2))); # Peter Luschny, Oct 06 2022
  • Mathematica
    t[n_, k_] /; EvenQ[n+k] = ((-1)^((n+k)/2+k))*Binomial[(n+k)/2, k]; t[n_, k_] /; OddQ[n+k] = 0; Flatten[Table[t[n, k], {n, 0, 12}, {k, 0, n}]][[;; 86]] (* Jean-François Alcover, Jul 05 2011 *)
    Table[Coefficient[(-I)^n Fibonacci[n + 1, - I x], x, k], {n, 0, 10}, {k, 0, n}] //Flatten (* Clark Kimberling, Aug 02 2011; corrected by Eric W. Weisstein, Apr 06 2017 *)
    CoefficientList[ChebyshevU[Range[0, 10], -x/2], x] // Flatten (* Eric W. Weisstein, Apr 06 2017 *)
    CoefficientList[Table[(-I)^n Fibonacci[n + 1, -I x], {n, 0, 10}], x] // Flatten (* Eric W. Weisstein, Apr 06 2017 *)
  • PARI
    {T(n, k) = if( k<0 || k>n || (n + k)%2, 0, (-1)^((n + k)/2 + k) * binomial((n + k)/2, k))} /* Michael Somos, Jun 24 2002 */
    
  • SageMath
    @CachedFunction
    def A049310(n,k):
        if n< 0: return 0
        if n==0: return 1 if k == 0 else 0
        return A049310(n-1,k-1) - A049310(n-2,k)
    for n in (0..9): [A049310(n,k) for k in (0..n)] # Peter Luschny, Nov 20 2012
    

Formula

T(n,k) := 0 if n < k or n+k odd, otherwise ((-1)^((n+k)/2+k))*binomial((n+k)/2, k); T(n, k) = -T(n-2, k)+T(n-1, k-1), T(n, -1) := 0 =: T(-1, k), T(0, 0)=1, T(n, k)= 0 if n < k or n+k odd; g.f. k-th column: (1 / (1 + x^2)^(k + 1)) * x^k. - Michael Somos, Jun 24 2002
T(n,k) = binomial((n+k)/2, (n-k)/2)*cos(Pi*(n-k)/2)*(1+(-1)^(n-k))/2. - Paul Barry, Aug 28 2005
Sum_{k=0..n} T(n,k)^2 = A051286(n). - Philippe Deléham, Nov 21 2005
Recurrence for the (unsigned) Fibonacci polynomials: F(1)=1, F(2)=x; for n > 2, F(n) = x*F(n-1) + F(n-2).
From Wolfdieter Lang, Nov 04 2011: (Start)
The Riordan A- and Z-sequences, given in a comment above, lead together to the recurrence:
T(n,k) = 0 if n < k, if k=0 then T(0,0)=1 and
T(n,0)= -Sum_{i=0..floor((n-1)/2)} C(i)*T(n-1,2*i+1), otherwise T(n,k) = T(n-1,k-1) - Sum_{i=1..floor((n-k)/2)} C(i)*T(n-1,k-1+2*i), with the Catalan numbers C(n)=A000108(n).
(End)
The row polynomials satisfy also S(n,x) = 2*(T(n+2, x/2) - T(n, x/2))/(x^2-4) with the Chebyshev T-polynomials. Proof: Use the trace formula 2*T(n, x/2) = S(n, x) - S(n-2, x) (see the Dec 02 2010 comment above) and the S-recurrence several times. This is a formula which expresses the S- in terms of the T-polynomials. - Wolfdieter Lang, Aug 07 2014
From Tom Copeland, Dec 06 2015: (Start)
The non-vanishing, unsigned subdiagonals Diag_(2n) contain the elements D(n,k) = Sum_{j=0..k} D(n-1,j) = (k+1) (k+2) ... (k+n) / n! = binomial(n+k,n), so the o.g.f. for the subdiagonal is (1-x)^(-(n+1)). E.g., Diag_4 contains D(2,3) = D(1,0) + D(1,1) + D(1,2) + D(1,3) = 1 + 2 + 3 + 4 = 10 = binomial(5,2). Diag_4 is shifted A000217; Diag_6, shifted A000292: Diag_8, shifted A000332; and Diag_10, A000389.
The non-vanishing antidiagonals are signed rows of the Pascal triangle A007318.
For a reversed, unsigned version with the zeros removed, see A011973. (End)
The Boas-Buck recurrence (see a comment above) for the sequence of column k is: S(n, k) = ((k+1)/(n-k))*Sum_{p=0..n-1-k} (1 - (-1)^p)*(-1)^((p+1)/2) * S(n-1-p, k), for n > k >= 0 and input S(k, k) = 1. - Wolfdieter Lang, Aug 11 2017
The m-th row consecutive nonzero entries in order are (-1)^c*(c+b)!/c!b! with c = m/2, m/2-1, ..., 0 and b = m-2c if m is even and with c = (m-1)/2, (m-1)/2-1, ..., 0 with b = m-2c if m is odd. For the 8th row starting at a(36) the 5 consecutive nonzero entries in order are 1,-10,15,-7,1 given by c = 4,3,2,1,0 and b = 0,2,4,6,8. - Richard Turk, Aug 20 2017
O.g.f.: exp( Sum_{n >= 0} 2*T(n,x/2)*t^n/n ) = 1 + x*t + (-1 + x^2)*t^2 + (-2*x + x^3)*t^3 + (1 - 3*x^2 + x^4)*t^4 + ..., where T(n,x) denotes the n-th Chebyshev polynomial of the first kind. - Peter Bala, Aug 15 2022

A006480 De Bruijn's S(3,n): (3n)!/(n!)^3.

Original entry on oeis.org

1, 6, 90, 1680, 34650, 756756, 17153136, 399072960, 9465511770, 227873431500, 5550996791340, 136526995463040, 3384731762521200, 84478098072866400, 2120572665910728000, 53494979785374631680, 1355345464406015082330, 34469858696831179429500, 879619727485803060256500, 22514366432046593564460000
Offset: 0

Views

Author

Keywords

Comments

Number of paths of length 3n in an n X n X n grid from (0,0,0) to (n,n,n), using steps (0,0,1), (0,1,0), and (1,0,0).
Appears in Ramanujan's theory of elliptic functions of signature 3.
S(s,n) = Sum_{k=0..2n} (-1)^(k+n) * binomial(2n, k)^s. The formula S(3,n) = (3n)!/(n!)^3 is due to Dixon (according to W. N. Bailey 1935). - Charles R Greathouse IV, Dec 28 2011
a(n) is the number of ballot results that end in a 3-way tie when 3n voters each cast two votes for two out of three candidates vying for 2 slots on a county board; in such a tie, each of the three candidates receives 2n votes. Note there are C(3n,2n) ways to choose the voters who cast a vote for the youngest candidate. The n voters who did note vote for the youngest candidate voted for the two older candidates. Then there are C(2n,n) ways to choose the other n voters who voted for both the youngest and the second youngest candidate. The remaining voters vote for the oldest candidate. Hence there are C(3n,2n)*C(2n,n)=(3n)!/(n!)^3 ballot results. - Dennis P. Walsh, May 02 2013
a(n) is the constant term of (X+Y+1/(X*Y))^(3*n). - Mark van Hoeij, May 07 2013
For n > 2 a(n) is divisible by (n+2)*(n+1)^2, a(n) = (n+1)^2*(n+2)*A161581(n). - Alexander Adamchuk, Dec 27 2013
a(n) is the number of permutations of the multiset {1^n, 2^n, 3^n}, the number of ternary words of length 3*n with n of each letters. - Joerg Arndt, Feb 28 2016
Diagonal of the rational function 1/(1 - x - y - z). - Gheorghe Coserea, Jul 06 2016
At least two families of elliptic curves, x = 2*H1 = (p^2+q^2)*(1-q) and x = 2*H2 = p^2+q^2-3*p^2*q+q^3 (0Bradley Klee, Feb 25 2018
The ordinary generating function also determines periods along a family of tetrahedral-symmetric sphere curves ("du troisième ordre"). Compare links to Goursat "Étude des surfaces..." and "Proof Certificate". - Bradley Klee, Sep 28 2018

Examples

			G.f.: 1 + 6*x + 90*x^2 + 1680*x^3 + 34650*x^4 + 756756*x^5 + 17153136*x^6 + ...
		

References

  • L. A. Aizenberg and A. P. Yuzhakov, "Integral representations and residues in multidimensional complex analysis", American Mathematical Society, 1983, p. 194.
  • Louis Comtet, Advanced Combinatorics, Reidel, 1974, p. 174.
  • N. G. de Bruijn, Asymptotic Methods in Analysis, North-Holland Publishing Co., 1958. See chapters 4 and 6.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Row 3 of A187783.
Related to diagonal of rational functions: A268545-A268555. Elliptic Integrals: A002894, A113424, A000897. Factors: A005809, A000984. Integrals: A007004, A024486. Sphere Curves: A318245, A318495.

Programs

  • GAP
    List([0..20],n->Factorial(3*n)/Factorial(n)^3); # Muniru A Asiru, Mar 31 2018
    
  • Magma
    [Factorial(3*n)/(Factorial(n))^3: n in [0..20] ]; // Vincenzo Librandi, Aug 20 2011
    
  • Maple
    seq((3*n)!/(n!)^3, n=0..16); # Zerinvary Lajos, Jun 28 2007
  • Mathematica
    Sum [ (-1)^(k+n) Binomial[ 2n, k ]^3, {k, 0, 2n} ]
    a[ n_] := If[ n < 0, 0, (-1)^n HypergeometricPFQ[ {-2 n, -2 n, -2 n}, {1, 1}, 1]]; (* Michael Somos, Oct 22 2014 *)
    Table[Multinomial[n, n, n], {n, 0, 100}] (* Emanuele Munarini, Oct 25 2016 *)
    CoefficientList[Series[Hypergeometric2F1[1/3,2/3,1,27*x],{x,0,5}],x] (* Bradley Klee, Feb 28 2018 *)
    Table[(3n)!/(n!)^3,{n,0,20}] (* Harvey P. Dale, Mar 09 2025 *)
  • Maxima
    makelist(multinomial_coeff(n,n,n),n,0,24); /* Emanuele Munarini, Oct 25 2016 */
    
  • PARI
    {a(n) = if( n<0, 0, (3*n)! / n!^3)}; /* Michael Somos, Dec 03 2002 */
    
  • PARI
    {a(n) = my(A, m); if( n<1, n==0, m=1; A = 1 + O(x); while( m<=n, m*=3; A = subst( (1 + 2*x) * subst(A, x, (x/3)^3), x, serreverse(x * (1 + x + x^2) / (1 + 2*x)^3 / 3 + O(x^m)))); polcoeff(A, n))}; /* Michael Somos, Dec 03 2002 */
    
  • Python
    from math import factorial
    def A006480(n): return factorial(3*n)//factorial(n)**3 # Chai Wah Wu, Oct 04 2022

Formula

Using Stirling's formula in A000142 it is easy to get the asymptotic expression a(n) ~ 1/2 * sqrt(3) * 27^n / (Pi*n) - Dan Fux (dan.fux(AT)OpenGaia.com or danfux(AT)OpenGaia.com), Apr 07 2001
From Karol A. Penson, Nov 21 2001: (Start)
O.g.f.: hypergeom([1/3, 2/3], [1], 27*x).
E.g.f.: hypergeom([1/3, 2/3], [1, 1], 27*x).
Integral representation as n-th moment of a positive function on [0, 27]:
a(n) = int( x^n*(-1/24*(3*sqrt(3)*hypergeom([2/3, 2/3], [4/3], 1/27*x)* Gamma(2/3)^6*x^(1/3) - 8*hypergeom([1/3, 1/3], [2/3], 1/27*x)*Pi^3)/Pi^3 /x^(2/3)/Gamma(2/3)^3), x=0..27). This representation is unique. (End)
a(n) = Sum_{k=-n..n} (-1)^k*binomial(2*n, n+k)^3. - Benoit Cloitre, Mar 02 2005
a(n) = C(2n,n)*C(3n,n) = A104684(2n,n). - Paul Barry, Mar 14 2006
G.f. satisfies: A(x^3) = A( x*(1+3*x+9*x^2)/(1+6*x)^3 )/(1+6*x). - Paul D. Hanna, Oct 29 2010
D-finite with recurrence: n^2*a(n) - 3*(3*n-1)*(3*n-2)*a(n-1) = 0. - R. J. Mathar, Dec 04 2012
a(n) = (n+1)^2*(n+2)*A161581(n) for n>2. - Alexander Adamchuk, Dec 27 2013
0 = a(n)^2*(472392*a(n+1)^2 - 83106*a(n+1)*a(n+2) + 3600*a(n+2)^2) + a(n)*a(n+1)*(-8748*a(n+1)^2 + 1953*a(n+1)*a(n+2) - 120*a(n+2)^2) + a(n+1)^2*(36*a(n+1)^2 - 12*a(n+1)*a(n+2) + a(n+2)^2) for all n in Z. - Michael Somos, Oct 22 2014
0 = x*(27*x-1)*y'' + (54*x-1)*y' + 6*y, where y is g.f. - Gheorghe Coserea, Jul 06 2016
From Peter Bala, Jul 15 2016: (Start)
a(n) = 3*binomial(2*n - 1,n)*binomial(3*n - 1,n) = 3*[x^n] 1/(1 - x)^n * [x^n] 1/(1 - x)^(2*n) for n >= 1.
a(n) = binomial(2*n,n)*binomial(3*n,n) = ([x^n](1 + x)^(2*n)) *([x^n](1 + x)^(3*n)) = [x^n](F(x)^(6*n)), where F(x) = 1 + x + 2*x^2 + 14*x^3 + 127*x^4 + 1364*x^5 + 16219*x^6 + ... appears to have integer coefficients. Cf. A002894.
This sequence occurs as the right-hand side of several binomial sums:
Sum_{k = 0..2*n} (-1)^(n+k)*binomial(2*n,k)^3 = a(n) (Dixon's identity).
Sum_{k = 0..n} binomial(n,k)*binomial(2*n,n - k)*binomial(3*n + k,k) = a(n) (Gould, Vol. 4, 6.86)
Sum_{k = 0..n} (-1)^(n+k)*binomial(n,k)*binomial(2*n + k,n)*binomial(3*n + k,n) = a(n).
Sum_{k = 0..n} binomial(n,k)*binomial(2*n + k,k)*binomial(3*n,n - k) = a(n).
Sum_{k = 0..n} (-1)^(k)*binomial(n,k)*binomial(3*n - k,n)*binomial(4*n - k,n) = a(n).
Sum_{k = 0..2*n} (-1)^(n+k)*binomial(2*n + k,2*n - k)*binomial(2*k,k)*binomial(4*n - k,2*n) = a(n) (see Gould, Vol.5, 9.23).
Sum_{k = 0..2*n} (-1)^k*binomial(3*n,k)*binomial(3*n - k,n)^3 = a(n) (Sprugnoli, Section 2.9, Table 10, p. 123). (End)
From Bradley Klee, Feb 28 2018: (Start)
a(n) = A005809(n)*A000984(n).
G.f.: F(x) = 1/(2*Pi) Integral_{z=0..2*Pi} 2F1(1/3,2/3; 1/2; 27*x*sin^2(z)) dz.
With G(x) = x*2F1(1/3,2/3; 2; 27*x): F(x) = d/dx G(x). (Cf. A007004) (End)
F(x)*G(1/27-x) + F(1/27-x)*G(x) = 1/(4*Pi*sqrt(3)). - Bradley Klee, Sep 29 2018
Sum_{n>=0} 1/a(n) = A091683. - Amiram Eldar, Nov 15 2020
From Peter Bala, Sep 20 2021: (Start)
a(n) = Sum_{k = n..2*n} binomial(2*n,k)^2 * binomial(k,n). Cf. A001459.
a(n*p^k) == a(n*p^(k-1)) ( mod p^(3*k) ) for any prime p >= 5 and any positive integers n and k (write a(n) as C(3*n,2*n)*C(2*n,n) and apply Mestrovic, equation 39, p. 12). (End)
a(n) = 6*A060542(n). - R. J. Mathar, Jun 21 2023
Occurs on the right-hand side of the binomial sum identities Sum_{k = -n..n} (-1)^k * (n + x - k) * binomial(2*n, n+k)^3 = (x + n)*a(n) and Sum_{k = -n..n} (-1)^k * (n + x - k)^3 * binomial(2*n, n+k)^3 = x*(x + n)*(x + 2*n)*a(n) (x arbitrary). Compare with Dixon's identity: Sum_{k = -n..n} (-1)^k * binomial(2*n, n+k)^3 = a(n). - Peter Bala, Jul 31 2023
From Peter Bala, Aug 14 2023: (Start)
a(n) = (-1)^n * [x^(2*n)] ( (1 - x)^(4*n) * Legendre_P(2*n, (1 + x)/(1 - x)) ).
Row 1 of A364509. (End)
From Peter Bala, Oct 10 2024: (Start)
The following hold for n >= 1:
a(n) = Sum_{k = 0.. 2*n} (-1)^(n+k) * k/n * binomial(2*n, k)^3 = 3/2 * Sum_{k = 0.. 2*n} (-1)^(n+k) * (k/n)^2 * binomial(2*n, k)^3.
a(n) = 3/2 * Sum_{0..2*n-1} (-1)^(n+k) * k/n * binomial(2*n, k)^2*binomial(2*n-1, k).
a(n) = 3 * Sum_{0..2*n-1} (-1)^(n+k) * k/n * binomial(2*n, k)*binomial(2*n-1, k)^2. (End)
a(n) = Sum_{k = 0..n} (-1)^(n+k) * binomial(n, k) * A108625(2*n, k) (verified using the MulZeil procedure in Doron Zeilberger's MultiZeilberger package). - Peter Bala, Oct 15 2024

Extensions

a(14)-a(16) from Eric W. Weisstein
Terms a(17) and beyond from T. D. Noe, Jun 29 2008

A181543 Triangle of cubed binomial coefficients, T(n,k) = C(n,k)^3, read by rows.

Original entry on oeis.org

1, 1, 1, 1, 8, 1, 1, 27, 27, 1, 1, 64, 216, 64, 1, 1, 125, 1000, 1000, 125, 1, 1, 216, 3375, 8000, 3375, 216, 1, 1, 343, 9261, 42875, 42875, 9261, 343, 1, 1, 512, 21952, 175616, 343000, 175616, 21952, 512, 1, 1, 729, 46656, 592704, 2000376, 2000376, 592704, 46656, 729, 1
Offset: 0

Views

Author

Paul D. Hanna, Oct 30 2010

Keywords

Comments

Diagonal of rational function R(x,y,z,t) = 1/(1 + y + z + x*y + y*z + t*x*z + (t+1)*x*y*z) with respect to x, y, z, i.e., T(n,k) = [(xyz)^n*t^k] R(x,y,z,t). - Gheorghe Coserea, Jul 01 2018

Examples

			Triangle begins:
  1;
  1,   1;
  1,   8,     1;
  1,  27,    27,      1;
  1,  64,   216,     64,       1;
  1, 125,  1000,   1000,     125,       1;
  1, 216,  3375,   8000,    3375,     216,      1;
  1, 343,  9261,  42875,   42875,    9261,    343,     1;
  1, 512, 21952, 175616,  343000,  175616,  21952,   512,   1;
  1, 729, 46656, 592704, 2000376, 2000376, 592704, 46656, 729, 1;
  ...
		

Crossrefs

Cf. A000172 (row sums), A181545 (antidiagonal sums), A002897, A181544, A248658.
Variants: A008459, A007318.

Programs

  • Maple
    T:= (n, k)-> binomial(n, k)^3:
    seq(seq(T(n, k), k=0..n), n=0..10);  # Alois P. Heinz, Jan 06 2021
  • Mathematica
    Flatten[Table[Binomial[n,k]^3,{n,0,10},{k,0,n}]] (* Harvey P. Dale, May 23 2011 *)
  • PARI
    T(n,k)=binomial(n,k)^3
    for(n=0,10,for(k=0,n,print1(T(n,k),", "));print())
    
  • PARI
    T(n,k)=polcoeff(polcoeff(sum(m=0,n,(3*m)!/m!^3*x^(2*m)*y^m/(1-x-x*y+x*O(x^n))^(3*m+1)),n,x),k,y)
    for(n=0,10,for(k=0,n,print1(T(n,k),", "));print()) \\ Paul D. Hanna, Nov 04 2010
    
  • PARI
    diag(expr, N=22, var=variables(expr)) = {
      my(a = vector(N));
      for (k = 1, #var, expr = taylor(expr, var[#var - k + 1], N));
      for (n = 1, N, a[n] = expr;
        for (k = 1, #var, a[n] = polcoeff(a[n], n-1)));
      return(a);
    };
    x='x; y='y; z='z; t='t;
    concat(apply(Vec, diag(1/(1 + y + z + x*y + y*z + t*x*z + (t+1)*x*y*z), 10, [x, y, z]))) \\ Gheorghe Coserea, Jul 01 2018

Formula

Row sums equal A000172, the Franel numbers.
Central terms are A002897(n) = C(2n,n)^3.
Antidiagonal sums equal A181545;
The g.f. of the antidiagonal sums is Sum_{n>=0} (3n)!/(n!)^3 * x^(3n)/(1-x-x^2)^(3n+1).
G.f. for column k: [Sum_{j=0..2k} A181544(k,j)*x^j]/(1-x)^(3k+1), where the row sums of A181544 equals De Bruijn's s(3,n) = (3n)!/(n!)^3.
G.f.: A(x,y) = Sum_{n>=0} (3n)!/n!^3 * x^(2n)*y^n/(1-x-x*y)^(3n+1). - Paul D. Hanna, Nov 04 2010

A181544 Triangle in which the g.f. for row n is [Sum_{k>=0} C(n+k-1,k)^3*x^k]*(1-x)^(3n+1), read by rows of k=0..2n terms.

Original entry on oeis.org

1, 1, 4, 1, 1, 20, 48, 20, 1, 1, 54, 405, 760, 405, 54, 1, 1, 112, 1828, 8464, 13840, 8464, 1828, 112, 1, 1, 200, 5925, 52800, 182700, 273504, 182700, 52800, 5925, 200, 1, 1, 324, 15606, 233300, 1424925, 4050864, 5703096, 4050864, 1424925, 233300, 15606, 324, 1, 1, 490, 35623, 818300, 7917371, 37215794, 91789005, 123519792, 91789005, 37215794, 7917371, 818300, 35623, 490, 1, 1, 704, 73200, 2430400, 34657700, 246781248, 955910032, 2116980800, 2751843600, 2116980800, 955910032, 246781248, 34657700, 2430400, 73200, 704, 1
Offset: 0

Views

Author

Paul D. Hanna, Oct 30 2010

Keywords

Examples

			Triangle begins:
 1;
 1, 4, 1;
 1, 20, 48, 20, 1;
 1, 54, 405, 760, 405, 54, 1;
 1, 112, 1828, 8464, 13840, 8464, 1828, 112, 1;
 1, 200, 5925, 52800, 182700, 273504, 182700, 52800, 5925, 200, 1;
 1, 324, 15606, 233300, 1424925, 4050864, 5703096, 4050864, 1424925, 233300, 15606, 324, 1; ...
Row g.f.s begin:
 (1) = (1-x)*(1 + x + x^2 + x^3 + x^4 +...);
 (1 + 4*x + x^2) = (1-x)^4*(1 + 2^3*x + 3^3*x^2 + 4^3*x^3 +...);
 (1 + 20*x + 48*x^2 + 20*x^3 + x^4) = (1-x)^7*(1 + 3^3*x + 6^3*x^2 +...);
 (1 + 54*x + 405*x^2 + 760*x^3 + 405*x^4 + 54*x^5 + x^6) = (1-x)^10*(1 + 4^3*x + 10^3*x^2 + 20^3*x^3 + 35^3*x^4 +...); ...
		

Crossrefs

Cf. A183204 (central terms), A183205.

Programs

  • Mathematica
    t[n_, k_] := SeriesCoefficient[Sum[Binomial[n+j, j]^3*x^j, {j, 0, n+k}]*(1-x)^(3*n+1), {x,0, k}]; Table[t[n, k], {n, 0, 9}, {k, 0, 2*n}] // Flatten (* Jean-François Alcover, Feb 04 2014, after PARI *)
  • PARI
    {T(n,k)=polcoeff(sum(j=0,n+k,binomial(n+j,j)^3*x^j)*(1-x)^(3*n+1),k)}
    for(n=0,10,for(k=0,2*n,print1(T(n,k),", "));print(""))

Formula

Row sums equal A006480(n) = (3n)!/(n!)^3, which is de Bruijn's s(3,n).
From Yahia Kahloune, Jan 30 2014: (Start)
Using these coefficients we can obtain formulas for the sums
Sum_{i=1..n} C(e-1+i,e)^3. Let us define b(k,e,3) = sum_{i=0..k-e} (-1)^i*C(3*e+1,i)*C(k-i,e)^3, where k=e+i.
For example:
b(e,e,3) = 1;
b(e+1,e,3) = (e+1)^3-(3*e+1) = e^2*(e+3);
b(e+2,e,3) = C(e+2,2)^3 - (3*e+1)*(e+1)^3 + C(3*e+1,2);
b(e+3,e,3) = C(e+3,e)^3 - (3*e+1)*C(e+2,e)^3 + C(3*e+1,2)*C(e+1,e)^3 - C(3*e+1,3);
b(e+4,e,3) = C(e+4,e)^3 - (3*e+1)*C(e+3,e)^3 + C(3*e+1,2)*C(e+2,e) - C(3*e+1,3)*C(e+1,e)^3 + C(3*e+1,4).
Then we have the formula: Sum_{i=1..n} C(e-1+i,e)^3 = Sum_{i=0..2*e} b(e+i,e,3)*C(n+e+i,3*e+1).
Example: Sum_{i=1..7} C(2+i,3)^3 = C(10,10) + 54*C(11,10) + 405*C(12,10) + 760*C(13,10) + 405*C(14,10) + 54*C(15,10) + C(16,10) = 820260. (End)
Let E be the operator D*x*D*x*D, where D denotes the derivative operator d/dx. Then (1/(n)!^3) * E^n(1/(1 - x)) = (row n generating polynomial)/(1 - x)^(3*n+1) = Sum_{k >= 0} binomial(n+k, k)^3*x^k. For example, when n = 2 we have (1/2!)^3*E^3(1/(1 - x)) = (1 + 20 x + 48 x^2 + 20 x^3 + x^4)/(1 - x)^7. - Sergii Voloshyn, Dec 03 2024

A059345 Central column of Pascal's "rhombus" (actually a triangle) A059317.

Original entry on oeis.org

1, 1, 4, 9, 29, 82, 255, 773, 2410, 7499, 23575, 74298, 235325, 747407, 2381126, 7603433, 24332595, 78013192, 250540055, 805803691, 2595158718, 8368026845, 27012184877, 87283372610, 282294378071, 913775677281, 2960160734818
Offset: 0

Views

Author

N. J. A. Sloane, Jan 27 2001

Keywords

Comments

Number of paths in the right half-plane from (0,0) to (n,0) consisting of steps U=(1,1), D=(1,-1), h=(1,0) and H=(2,0). Example: a(3)=9 because we have hhh, hH, Hh, hUD, hDU, UhD, DhU, UDh and DUh. The number of such paths restricted to the first quadrant is given in A128720. - Emeric Deutsch, Sep 03 2007
Number of lattice paths from (0,0) to (n,n) using steps (1,0), (1,1), (1,2), (2,2). - Joerg Arndt, Jun 30 2011
Other two columns of the triangle in A059317 are given in A106053 and A106050. - Emeric Deutsch, Sep 03 2007

References

  • Lin Yang and S.-L. Yang, The parametric Pascal rhombus. Fib. Q., 57:4 (2019), 337-346.

Crossrefs

Cf. A181545. - Paul D. Hanna, Oct 29 2010

Programs

  • Maple
    r:=proc(i,j) if i=0 then 0 elif i=1 and abs(j)>0 then 0 elif i=1 and j=0 then 1 elif i>=1 then r(i-1,j)+r(i-1,j-1)+r(i-1,j+1)+r(i-2,j) else 0 fi end: seq(r(i,0),i=1..12); # very slow; Emeric Deutsch, Jun 06 2004
    G:=1/sqrt((1+z-z^2)*(1-3*z-z^2)): Gser:=series(G,z=0,30): seq(coeff(Gser,z, n),n=0..27); # Emeric Deutsch, Sep 03 2007
    a[0]:=1: a[1]:=1: a[2]:=4: a[3]:=9: for n from 3 to 26 do a[n+1]:=((2*n+1)*a[n]+5*n*a[n-1]-(2*n-1)*a[n-2]-(n-1)*a[n-3])/(n+1) end do: seq(a[n],n=0..27); # Emeric Deutsch, Sep 03 2007
  • Mathematica
    CoefficientList[Series[1/Sqrt[(1+x-x^2)(1-3x-x^2)],{x,0,40}],x] (* Harvey P. Dale, Jun 04 2011 *)
    a[n_] := Sum[Binomial[n-k, k]*Hypergeometric2F1[(2*k-n)/2, (2*k-n+1)/2, 1, 4], {k, 0, Floor[n/2]}]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Nov 26 2015 *)
  • PARI
    {a(n)=polcoeff(sum(m=0,n,x^(2*m)/(1-x-x^2+x*O(x^n))^(2*m+1)*(2*m)!/(m!)^2),n)} \\ Paul D. Hanna, Oct 29 2010
    
  • PARI
    /* same as in A092566 but use */
    steps=[[1,0], [1,1], [1,2], [2,2]];
    /* Joerg Arndt, Jun 30 2011 */

Formula

G.f.: 1/sqrt((1+z-z^2)*(1-3*z-z^2)). - Emeric Deutsch, Sep 03 2007
D-finite with recurrence: (n+1)*a(n+1)=(2*n+1)*a(n)+5*n*a(n-1)-(2*n-1)*a(n-2)-(n-1)*a(n-3). - Emeric Deutsch, Sep 03 2007
a(n) = sum{k=0..floor(n/2), C(n-k,k)*A002426(n-2k)}. - Paul Barry, Nov 29 2008
G.f.: A(x) = Sum_{n>=0} (2*n)!/(n!)^2 * x^(2n)/(1-x-x^2)^(2n+1). - Paul D. Hanna, Oct 29 2010
a(n) ~ sqrt((3+11/sqrt(13))/8) * ((3+sqrt(13))/2)^n/sqrt(Pi*n). - Vaclav Kotesovec, Aug 11 2013

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Jan 30 2001

A181546 a(n) = Sum_{k=0..floor(n/2)} C(n-k,k)^4.

Original entry on oeis.org

1, 1, 2, 17, 83, 338, 1923, 11553, 63028, 359203, 2172469, 13026034, 78106885, 478415635, 2957675956, 18321372721, 114301292581, 718253640196, 4531427831111, 28699590926291, 182566373639352, 1165539703613397
Offset: 0

Views

Author

Paul D. Hanna, Oct 29 2010

Keywords

Comments

Conjecture: Given F(n,L) = Sum_{k=0..[n/2]} C(n-k,k)^L, then lim_{n->oo} F(n+1,L)/F(n,L) = (Fibonacci(L)*sqrt(5) + Lucas(L))/2 for L>=0 where Fibonacci(n) = A000045(n) and Lucas(n) = A000032(n).
For this sequence (L=4): lim_{n->oo} a(n+1)/a(n) = (3*sqrt(5)+7)/2 = 6.8541...
Diagonal of the rational function 1 / ((1 - x)*(1 - y)*(1 - z)*(1 - w) - (x*y*z*w)^2). - Ilya Gutkovskiy, Apr 23 2025

Examples

			G.f. A(x) = 1 + x + 2*x^2 + 17*x^3 + 83*x^4 + 338*x^5 + 1923*x^6 +...
The terms begin:
a(0) = a(1) = 1^4;
a(2) = 1^4 + 1^4 = 2;
a(3) = 1^4 + 2^4 = 17;
a(4) = 1^4 + 3^4 + 1^4 = 83;
a(5) = 1^4 + 4^4 + 3^4 = 338;
a(6) = 1^4 + 5^4 + 6^4 + 1^4 = 1923;
a(7) = 1^4 + 6^4 + 10^4 + 4^4 = 11553; ...
		

Crossrefs

Cf. variants: A181545, A181547, A051286.

Programs

  • Mathematica
    Table[Sum[Binomial[n-k,k]^4,{k,0,Floor[n/2]}],{n,0,30}] (* Harvey P. Dale, May 22 2021 *)
  • PARI
    {a(n)=sum(k=0,n\2,binomial(n-k,k)^4)}

A181547 a(n) = Sum_{k=0..floor(n/2)} C(n-k,k)^5.

Original entry on oeis.org

1, 1, 2, 33, 245, 1268, 10903, 108801, 876184, 7319995, 70550669, 663827604, 6051592703, 57695451167, 563736086740, 5452227384417, 53094611797387, 525962074892014, 5232943624317191, 52145361057635835, 523458523860890906
Offset: 0

Views

Author

Paul D. Hanna, Oct 29 2010

Keywords

Comments

Conjecture: Given F(n,L) = Sum_{k=0..[n/2]} C(n-k,k)^L, then lim_{n->oo} F(n+1,L)/F(n,L) = (Fibonacci(L)*sqrt(5) + Lucas(L))/2 for L>=0 where Fibonacci(n) = A000045(n) and Lucas(n) = A000032(n).
For this sequence (L=5): lim_{n->oo} a(n+1)/a(n) = (5*sqrt(5)+11)/2 = 11.090...
Diagonal of the rational function 1 / ((1 - x)*(1 - y)*(1 - z)*(1 - u)*(1 - v) - (x*y*z*u*v)^2). - Ilya Gutkovskiy, Apr 23 2025

Examples

			G.f. A(x) = 1 + x + 2*x^2 + 33*x^3 + 245*x^4 + 1268*x^5 + 10903*x^6 +...
The terms begin:
a(0) = a(1) = 1^5;
a(2) = 1^5 + 1^5 = 2;
a(3) = 1^5 + 2^5 = 33;
a(4) = 1^5 + 3^5 + 1^5 = 245;
a(5) = 1^5 + 4^5 + 3^5 = 1268;
a(6) = 1^5 + 5^5 + 6^5 + 1^5 = 10903;
a(7) = 1^5 + 6^5 + 10^5 + 4^5 = 108801; ...
		

Crossrefs

Cf. variants: A181545, A181546, A051286.

Programs

  • PARI
    {a(n)=sum(k=0,n\2,binomial(n-k,k)^5)}

A248658 G.f.: Sum_{n>=0} x^n * Sum_{k=0..n} binomial(n,k)^3 * x^(2*k).

Original entry on oeis.org

1, 1, 1, 2, 9, 28, 66, 153, 433, 1345, 3952, 10991, 30954, 90988, 271845, 804153, 2361457, 6979690, 20842285, 62493914, 187274712, 561448399, 1688263179, 5093148285, 15393417178, 46570446829, 141063389488, 427979185898, 1300470246165, 3956367018001, 12048354848013, 36728336040306
Offset: 0

Views

Author

Paul D. Hanna, Oct 10 2014

Keywords

Comments

Limit_{n->oo} a(n)/a(n+1) = 1 - t = t^3 = 0.3176721961... where t = ((sqrt(93)+9)/18)^(1/3) - ((sqrt(93)-9)/18)^(1/3).
Diagonal of the rational function 1 / ((1 - x)*(1 - y)*(1 - z) - (x*y*z)^3). - Ilya Gutkovskiy, Apr 23 2025

Examples

			G.f. A(x) = 1 + x + x^2 + 2*x^3 + 9*x^4 + 28*x^5 + 66*x^6 + 153*x^7 +...
which equals the series:
A(x) = 1/(1-x-x^3) + 3!/1!^3*x^4/(1-x-x^3)^4 + 6!/2!^3*x^8/(1-x-x^3)^7 + 9!/3!^3*x^12/(1-x-x^3)^10 + 12!/4!^3*x^16/(1-x-x^3)^13 +...
The g.f. also equals the series:
A(x) = 1 +
x*(1 + x^2) +
x^2*(1 + 2^3*x^2 + x^4) +
x^3*(1 + 3^3*x^2 + 3^3*x^4 + x^6) +
x^4*(1 + 4^3*x^2 + 6^3*x^4 + 4^3*x^6 + x^8) +
x^5*(1 + 5^3*x^2 + 10^3*x^4 + 10^3*x^6 + 5^3*x^8 + x^10) +...
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[Binomial[n-2*k,k]^3,{k,0,Floor[n/3]}],{n,0,20}] (* Vaclav Kotesovec, Oct 15 2014 *)
  • PARI
    {a(n)=local(A=1); A=sum(m=0, n, x^m*sum(k=0, m, binomial(m, k)^3*x^(2*k)) +x*O(x^n)); polcoeff(A, n)}
    for(n=0, 40, print1(a(n), ", "))
    
  • PARI
    {a(n)=polcoeff(sum(m=0, n,x^(4*m)/(1-x-x^3 +x*O(x^n))^(3*m+1)*(3*m)!/(m!)^3), n)}
    for(n=0, 40, print1(a(n), ", "))
    
  • PARI
    {a(n)=sum(k=0, n\3, binomial(n-2*k, k)^3)}
    for(n=0, 40, print1(a(n), ", "))

Formula

G.f.: A(x) = Sum_{n>=0} (3*n)!/(n!)^3 * x^(4*n) / (1-x-x^3)^(3*n+1).
a(n) = Sum_{k=0..[n/3]} C(n-2*k,k)^3.
G.f.: A(x) = G( x^4/(1-x-x^3)^3 )/(1-x-x^3) where G(x) satisfies:
* G(x^3) = G( x*(1+3*x+9*x^2)/(1+6*x)^3 )/(1+6*x) and G(x) is the g.f. of A006480.

A323769 a(n) = Sum_{k=0..floor(n/2)} binomial(n-k,k)^n.

Original entry on oeis.org

1, 1, 2, 9, 83, 1268, 62283, 10296321, 2668655428, 1306416217435, 3055324257386077, 17213278350960504924, 137320554100797006975445, 3087543920644806918694851647, 335732238884967561227813578781572, 61125387696211835948801235842204794881
Offset: 0

Views

Author

Seiichi Manyama, Jan 27 2019

Keywords

Comments

The limit a(n) / (5^(n/4) * phi^(n*(n+1)) / (2*Pi*n)^(n/2)) does not exist but oscillates between 2 attractors. The value is dependent on the fractional part of n/(sqrt(5)*phi), see graph. - Vaclav Kotesovec, Jan 28 2019

Crossrefs

Programs

  • Mathematica
    Table[Sum[Binomial[n-k,k]^n, {k, 0, n/2}], {n, 0, 15}] (* Vaclav Kotesovec, Jan 27 2019 *)
  • PARI
    {a(n) = sum(k=0, n\2, binomial(n-k, k)^n)}

Formula

a(n)^(1/n) ~ 5^(1/4) * phi^(n+1) / sqrt(2*Pi*n), where phi = A001622 = (1+sqrt(5))/2 is the golden ratio. - Vaclav Kotesovec, Jan 27 2019
log(a(n)) ~ n*(n*v + w - log(n))/2 with v = 2*log((1 + sqrt(5))/2) and w = log((35 + 15*sqrt(5))/(8*Pi^2))/2, preceding formula recast. - Peter Luschny, Jan 28 2019

A323767 A(n,k) = Sum_{j=0..floor(n/2)} binomial(n-j,j)^k, square array A(n,k) read by antidiagonals, for n >= 0, k >= 0.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 3, 3, 1, 1, 2, 5, 5, 3, 1, 1, 2, 9, 11, 8, 4, 1, 1, 2, 17, 29, 26, 13, 4, 1, 1, 2, 33, 83, 92, 63, 21, 5, 1, 1, 2, 65, 245, 338, 343, 153, 34, 5, 1, 1, 2, 129, 731, 1268, 1923, 1281, 376, 55, 6
Offset: 0

Views

Author

Seiichi Manyama, Jan 27 2019

Keywords

Examples

			Square array begins:
   1,  1,   1,    1,     1,      1,       1, ...
   1,  1,   1,    1,     1,      1,       1, ...
   2,  2,   2,    2,     2,      2,       2, ...
   2,  3,   5,    9,    17,     33,      65, ...
   3,  5,  11,   29,    83,    245,     731, ...
   3,  8,  26,   92,   338,   1268,    4826, ...
   4, 13,  63,  343,  1923,  10903,   62283, ...
   4, 21, 153, 1281, 11553, 108801, 1050753, ...
		

Crossrefs

Columns 0-5 give A004526(n+2), A000045(n+1), A051286, A181545, A181546, A181547.
Main diagonal gives A323769.
Cf. A011973,

Programs

  • Mathematica
    f := Sum[Power[Binomial[#1 - i, i], #2], {i, 0, #1/2}] &;a = Flatten[Reverse[DeleteCases[Table[Table[f[m - n, n], {n, 0, 20}], {m, 0, 20}], 0, Infinity], 2]] (* Elijah Beregovsky, Nov 24 2020 *)
Showing 1-10 of 12 results. Next