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-3 of 3 results.

A129462 Coefficients of the v=2 member of a family of certain orthogonal polynomials.

Original entry on oeis.org

1, -1, 1, 0, -2, 1, 0, -6, 1, 1, 0, -48, -4, 12, 1, 0, -720, -204, 208, 35, 1, 0, -17280, -7776, 5208, 1348, 74, 1, 0, -604800, -358560, 179688, 64580, 5138, 133, 1, 0, -29030400, -20839680, 8175744, 3888528, 400384, 14952, 216, 1, 0, -1828915200, -1516112640, 472666752, 291010032, 36493200, 1753624, 36624, 327, 1
Offset: 0

Views

Author

Wolfdieter Lang, May 04 2007

Keywords

Comments

For v >= 1 the orthogonal polynomials p(n,v,x) have v integer zeros k*(k-1), k=1..v, for every n >= v. These zeros are from 2*A000217.
Coefficients of p(n,v=2,x) (in the quoted Bruschi, et al., paper p(nu, n)(x) of eqs. (4) and (8a),(8b)) in increasing powers of x.
The v-family p(n,v,x) consists of characteristic polynomials of the tridiagonal M x M matrix V=V(M,v) with entries V_{m,n} given by v*(v-1) - (m-1)^2 - (v-m)^2 if n=m, m=1,...,M; (m-1)^2 if n=m-1, m=2,...,M; (v-m)^2 if n=m+1, m=1..M-1 and 0 else. p(n,v,x) := det(x*I_n) - V(n,v) with the n dimensional unit matrix I_n.
The column sequences give A019590, A129464, A129465, A129466 for m=0,1,2,3.
p(n,v=2,x) has, for every n >= 2, simple zeros for integers x=0 and x=2. p(2,2,x) has therefore only integer zeros 0 and 2. det(V(n,2))=0 for every n >= 2.

Examples

			Triangle begins:
   1;
  -1,    1;
   0,   -2,    1;
   0,   -6,    1,   1;
   0,  -48,   -4,  12,  1;
   0, -720, -204, 208, 35,  1;
  ...
Row n=2: [0,-2,1]. p(2,2,x) = x*(x-2).
Row n=5: [0,-720,-204,208,35,1]. p(5,2,x) = x*(-720 - 204*x + 208*x^2 + 35*x^3 + 1*x^4) = x*(x-2)*(360 + 282*x + 37*x^2 + x^3).
		

Crossrefs

Columns: A019590 (m=0), A129464 (m=1), A129465 (m=2), A129466 (m=3).
Cf. A000217, A129065 (v=1 triangle), A129463 (row sums).

Programs

  • Magma
    function T(n,k) // T = A129462
      if k lt 0 or k gt n then return 0;
      elif n eq 0 then return 1;
      else return (2*(n-1)*(n-2)-1)*T(n-1,k) - ((n-1)*(n-3))^2*T(n-2,k) + T(n-1,k-1);
      end if;
    end function;
    [T(n,k): k in [0..n], n in [0..12]]; // G. C. Greubel, Feb 08 2024
    
  • Mathematica
    p[-1, , ]= 0; p[0, , ]= 1; p[n_, v_, x_]:= p[n, v, x] = (x +2*(n-1)^2 - 2*(v-1)*(n-1)-v+1)*p[n-1,v,x] -(n-1)^2*(n-1-v)^2*p[n-2,v,x];
    T[n_, m_]:= Coefficient[p[n, 2, x], x, m];
    Table[T[n, m], {n, 0, 9}, {m, 0, n}]//Flatten (* Jean-François Alcover, Oct 30 2013 *)
    T[n_, k_]:= T[n, k]= If[k<0 || k>n, 0, If[n==0, 1, (2*(n-1)*(n-2)- 1)*T[n-1,k] -((n-1)*(n-3))^2*T[n-2,k] +T[n-1,k-1]]]; (* T=A129462 *)
    Table[T[n,k], {n,0,12}, {k,0,n}]//Flatten (* G. C. Greubel, Feb 08 2024 *)
  • SageMath
    @CachedFunction
    def T(n,k): # T = A129462
        if (k<0 or k>n): return 0
        elif (n==0): return 1
        else: return (2*(n-1)*(n-2)-1)*T(n-1,k) - ((n-1)*(n-3))^2*T(n-2,k) + T(n-1,k-1)
    flatten([[T(n,k) for k in range(n+1)] for n in range(13)]) # G. C. Greubel, Feb 08 2024

Formula

T(n,m) = [x^m] p(n,1,x), n >= 0, with the three-term recurrence for orthogonal polynomial systems of the form p(n,v,x) = (x + 2*(n-1)^2 - 2*(v-1)*(n-1) -v+1)*p(n-1,v,x) - (n-1)^2*(n-1-v)^2*p(n-2,v,x), n >= 1; p(-1,v,x)=0 and p(0,v,x)=1. Put v=2 here.
Recurrence: T(n,m) = T(n-1,m-1) + (2*(n-1)^2 - 2*(v-1)*(n-1) - v + 1)*T(n-1,m) -((n-1)^2*(n-1-v)^2)*T(n-2, m); T(n,m)=0 if n < m, T(-1,m):=0, T(0,0)=1, T(n,-1)=0. Put v=2 for this triangle.
Sum_{k=0..n} T(n, k) = A129463(n) (row sums).

A129464 Second column (m=1) of triangle A129462 (v=2 member of a certain family).

Original entry on oeis.org

1, -2, -6, -48, -720, -17280, -604800, -29030400, -1828915200, -146313216000, -14485008384000, -1738201006080000, -248562743869440000, -41758540970065920000, -8142915489162854400000, -1824013069572479385600000, -465123332740982243328000000
Offset: 0

Views

Author

Wolfdieter Lang, May 04 2007

Keywords

Comments

See A129462 for the M. Bruschi et al. reference.

Crossrefs

Cf. A129462, A129465 (m=2), A129466 (m=3).
Cf. A229020.

Programs

  • Magma
    [1] cat [-Factorial(n-1)*Factorial(n+1): n in [1..30]]; // G. C. Greubel, Feb 08 2024
    
  • Maple
    A129464 := n -> `if`(n=0,1,-(n-1)!^2*n*(n+1)); # Peter Luschny, Oct 15 2010
  • Mathematica
    Table[If[n==0, 1, -(n-1)!*(n+1)!], {n,0,30}] (* G. C. Greubel, Feb 08 2024 *)
  • SageMath
    [1]+[-factorial(n-1)*factorial(n+1) for n in range(1,31)] # G. C. Greubel, Feb 08 2024

Formula

a(n) = A129462(n+1,1), n >= 0.
a(n) = -(n-1)!^2*n*(n+1), n > 0. - Peter Luschny, Oct 15 2010
From Amiram Eldar, May 17 2022: (Start)
Sum_{n>=1} 1/a(n) = -BesselI(2, 2) = -A229020.
Sum_{n>=1} (-1)^n/a(n) = BesselJ(2, 2). (End)

A129465 Third column (m=2) sequence of triangle A129462 (v=2 member of a certain family).

Original entry on oeis.org

1, 1, -4, -204, -7776, -358560, -20839680, -1516112640, -135920332800, -14772931891200, -1917601910784000, -293337284308992000, -52263416690343936000, -10734227287227924480000, -2518467729187335045120000, -669569466986357627289600000
Offset: 0

Views

Author

Wolfdieter Lang, May 04 2007

Keywords

Comments

See A129462 for the M. Bruschi et al. reference.

Crossrefs

Cf. A129462, A129464 (m=1), A129466(m=3).

Programs

  • Magma
    A129465:= func< n | n eq 0 select 1 else -Factorial(n)*Factorial(n+2)*(HarmonicNumber(n+2) -2) >;
    [A129465(n): n in [0..30]]; // G. C. Greubel, Feb 08 2024
    
  • Mathematica
    A129465[n_]:= If[n==0, 1, -n!*(n+2)!*(HarmonicNumber[n+2] -2)];
    Table[A129465[n], {n,0,30}] (* G. C. Greubel, Feb 08 2024 *)
  • SageMath
    def A129465(n): return 1 if (n==0) else -factorial(n)*factorial(n+2)*( harmonic_number(n+2) -2)
    [A129465(n) for n in range(31)] # G. C. Greubel, Feb 08 2024

Formula

a(n) = A129462(n+2, 2), n >= 0.
a(n) = (-1)*n!*(n+2)!*(HarmonicNumber(n+2) - 2), for n >= 1, otherwise a(0) = 1. - G. C. Greubel, Feb 08 2024
Showing 1-3 of 3 results.