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

A007559 Triple factorial numbers (3*n-2)!!! with leading 1 added.

Original entry on oeis.org

1, 1, 4, 28, 280, 3640, 58240, 1106560, 24344320, 608608000, 17041024000, 528271744000, 17961239296000, 664565853952000, 26582634158080000, 1143053268797440000, 52580450364682240000, 2576442067869429760000, 133974987529210347520000, 7368624314106569113600000
Offset: 0

Views

Author

Keywords

Comments

a(n) is the number of increasing quaternary trees on n vertices. (See A001147 for ternary and A000142 for binary trees.) - David Callan, Mar 30 2007
a(n) is the product of the positive integers k <= 3*n that have k modulo 3 = 1. - Peter Luschny, Jun 23 2011
See A094638 for connections to differential operators. - Tom Copeland, Sep 20 2011
Partial products of A016777. - Reinhard Zumkeller, Sep 20 2013
For n > 2, a(n) is a Zumkeller number. - Ivan N. Ianakiev, Jan 28 2020
a(n) is the number of generalized permutations of length n related to the degenerate Eulerian numbers (see arXiv:2007.13205), cf. A336633. - Orli Herscovici, Jul 28 2020

Examples

			G.f. = 1 + x + 4*x^2 + 28*x^3 + 280*x^4 + 3640*x^5 + 58240*x^6 + ...
a(3) = 28 and a(4) = 280; with top row of M^3 = (28, 117, 108, 27), sum = 280.
		

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

a(n)= A035469(n, 1), n >= 1, (first column of triangle A035469(n, m)).
Cf. A107716. - Gary W. Adamson, Oct 22 2009
Cf. A095660. - Gary W. Adamson, Jul 19 2011
Subsequence of A007661. A007696, A008548.
a(n) = A286718(n,0), n >= 0.
Row sums of A336633.

Programs

  • GAP
    List([0..20], n-> Product([0..n-1], k-> 3*k+1 )); # G. C. Greubel, Aug 20 2019
  • Haskell
    a007559 n = a007559_list !! n
    a007559_list = scanl (*) 1 a016777_list
    -- Reinhard Zumkeller, Sep 20 2013
    
  • Magma
    b:= func< n | (n lt 2) select n else (3*n-2)*Self(n-1) >;
    [1] cat [b(n): n in [1..20]]; // G. C. Greubel, Aug 20 2019
    
  • Maple
    A007559 := n -> mul(k, k = select(k-> k mod 3 = 1, [$1 .. 3*n])): seq(A007559(n), n = 0 .. 17); # Peter Luschny, Jun 23 2011
    # second Maple program:
    b:= proc(n) option remember; `if`(n<1, 1, n*b(n-3)) end:
    a:= n-> b(3*n-2):
    seq(a(n), n=0..20);  # Alois P. Heinz, Dec 18 2024
  • Mathematica
    a[ n_] := If[ n < 0, 1 / Product[ k, {k, - 2, 3 n - 1, -3}],
      Product[ k, {k, 1, 3 n - 2, 3}]]; (* Michael Somos, Oct 14 2011 *)
    FoldList[Times,1,Range[1,100,3]] (* Harvey P. Dale, Jul 05 2013 *)
    Range[0, 19]! CoefficientList[Series[((1 - 3 x)^(-1/3)), {x, 0, 19}], x] (* Vincenzo Librandi, Oct 08 2015 *)
  • Maxima
    a(n):=if n=1 then 1 else (n)!*(sum(m/n*sum(binomial(k,n-m-k)*(-1/3)^(n-m-k)* binomial (k+n-1,n-1),k,1,n-m),m,1,n)+1); /* Vladimir Kruchinin, Aug 09 2010 */
    
  • PARI
    {a(n) = if( n<0, (-1)^n / prod(k=0,-1-n, 3*k + 2), prod(k=0, n-1, 3*k + 1))}; /* Michael Somos, Oct 14 2011 */
    
  • PARI
    my(x='x+O('x^33)); Vec(serlaplace((1-3*x)^(-1/3))) /* Joerg Arndt, Apr 24 2011 */
    
  • Sage
    def A007559(n) : return mul(j for j in range(1,3*n,3))
    [A007559(n) for n in (0..17)]  # Peter Luschny, May 20 2013
    

Formula

a(n) = Product_{k=0..n-1} (3*k + 1).
a(n) = (3*n - 2)!!!.
a(n) = A007661(3*n-2).
E.g.f.: (1-3*x)^(-1/3).
a(n) ~ sqrt(2*Pi)/Gamma(1/3)*n^(-1/6)*(3*n/e)^n*(1 - (1/36)/n - ...). - Joe Keane (jgk(AT)jgk.org), Nov 22 2001
a(n) = 3^n*Pochhammer(1/3, n).
a(n) = Sum_{k=0..n} (-3)^(n-k)*A048994(n, k). - Philippe Deléham, Oct 29 2005
a(n) = n!*(1+Sum_{m=1..n} (m/n)*Sum_{k=1..n-m} binomial(k, n-m-k)*(-1/3)^(n-m-k)*binomial(k+n-1, n-1)), n>1. - Vladimir Kruchinin, Aug 09 2010
From Gary W. Adamson, Jul 19 2011: (Start)
a(n) = upper left term in M^n, M = a variant of Pascal (1,3) triangle (Cf. A095660); as an infinite square production matrix:
1, 3, 0, 0, 0,...
1, 4, 3, 0, 0,...
1, 5, 7, 3, 0,...
...
a(n+1) = sum of top row terms of M^n. (End)
a(n) = (-2)^n*Sum_{k=0..n} (3/2)^k*s(n+1,n+1-k), where s(n,k) are the Stirling numbers of the first kind, A048994. - Mircea Merca, May 03 2012
G.f.: 1/Q(0) where Q(k) = 1 - x*(3*k+1)/( 1 - x*(3*k+3)/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Mar 21 2013
G.f.: G(0)/2, where G(k)= 1 + 1/(1 - x*(3*k+1)/(x*(3*k+1) + 1/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, May 26 2013
E.g.f.: E(0)/2, where E(k)= 1 + 1/(1 - x*(3*k+1)/(x*(3*k+1) + (k+1)/E(k+1))); (continued fraction). - Sergei N. Gladkovskii, May 26 2013
Let D(x) = 1/sqrt(1 - 2*x) be the e.g.f. for the sequence of double factorial numbers A001147. Then the e.g.f. A(x) for the triple factorial numbers satisfies D( Integral_{t=0..x} A(t) dt ) = A(x). Cf. A007696 and A008548. - Peter Bala, Jan 02 2015
O.g.f.: hypergeom([1, 1/3], [], 3*x). - Peter Luschny, Oct 08 2015
a(n) = 3^n * Gamma(n + 1/3)/Gamma(1/3). - Artur Jasinski, Aug 23 2016
a(n) = (-1)^n / A008544(n), 0 = a(n)*(+3*a(n+1) -a(n+2)) +a(n+1)*a(n+1) for all n in Z. - Michael Somos, Sep 30 2018
D-finite with recurrence: a(n) +(-3*n+2)*a(n-1)=0, n>=1. - R. J. Mathar, Feb 14 2020
Sum_{n>=1} 1/a(n) = (e/9)^(1/3) * (Gamma(1/3) - Gamma(1/3, 1/3)). - Amiram Eldar, Jun 29 2020

Extensions

Better description from Wolfdieter Lang

A107717 Triangular matrix T, read by rows, that satisfies: SHIFT_LEFT(column 0 of T^((3*p-1)/3)) = (3*p-1)*(column p of T), or [T^((3*p-1)/3)](m,0) = (3*p-1)*T(p+m,p) for all m>=1 and p>=0.

Original entry on oeis.org

1, 3, 1, 21, 6, 1, 219, 57, 9, 1, 2973, 723, 111, 12, 1, 49323, 11361, 1713, 183, 15, 1, 964173, 212151, 31575, 3351, 273, 18, 1, 21680571, 4584081, 675489, 71391, 5799, 381, 21, 1, 551173053, 112480887, 16442823, 1732881, 140529, 9219, 507, 24, 1
Offset: 0

Views

Author

Paul D. Hanna, May 30 2005

Keywords

Comments

Column 0 is A107716 (INVERTi of triple factorials). Column 1 is A107718 (twcie column 0 of T^(2/3), offset 1). The matrix logarithm divided by 3 yields the integer triangle A107724.

Examples

			SHIFT_LEFT(column 0 of T^(p-1/3)) = (3*p-1)*(column p of T):
SHIFT_LEFT(column 0 of T^(-1/3)) = -1*(column 0 of T);
SHIFT_LEFT(column 0 of T^(2/3)) = 2*(column 1 of T);
SHIFT_LEFT(column 0 of T^(5/3)) = 5*(column 2 of T).
Triangle begins:
1;
3,1;
21,6,1;
219,57,9,1;
2973,723,111,12,1;
49323,11361,1713,183,15,1;
964173,212151,31575,3351,273,18,1;
21680571,4584081,675489,71391,5799,381,21,1; ...
Matrix power (2/3), T^(2/3), is A107719 and begins:
1;
2,1;
12,4,1;
114,32,6,1;
1446,364,62,8,1;
22722,5276,854,102,10,1; ...
compare column 0 of T^(2/3) to 2*(column 1 of T).
Matrix inverse cube-root T^(-1/3) is A107727 and begins:
1;
-1,1;
-3,-2,1;
-21,-7,-3,1;
-219,-53,-13,-4,1;
-2973,-583,-115,-21,-5,1; ...
compare column 0 of T^(-1/3) to column 0 of T.
Matrix inverse is A107726 and begins:
1;
-3,1;
-3,-6,1;
-21,-3,-9,1;
-219,-21,-3,-12,1;
-2973,-219,-21,-3,-15,1; ...
compare column 0 of T^(-1) to column 0 of T.
		

Crossrefs

Programs

  • PARI
    {T(n,k)=if(n
    				
  • PARI
    {T(n,k)=if(n=j,if(m==j,1,if(m==j+1,-3*j,-T(m-j-1,0)))))^-1)[n+1,k+1])}
    for(n=0,10,for(k=0,n,print1(T(n,k),", ")); print(""))

Formula

T(n, k) = 3*(k+1)*T(n, k+1) + Sum_{j=1..n-k-1} T(j, 0)*T(n, j+k+1) for n>k>=0, with T(n, n) = 1 for n>=0. T(n, 0) = A107716(n+1) for n>=0.

A089949 Triangle T(n,k), read by rows, given by [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, ...] DELTA [1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, ...] where DELTA is the operator defined in A084938.

Original entry on oeis.org

1, 0, 1, 0, 1, 2, 0, 1, 6, 6, 0, 1, 12, 34, 24, 0, 1, 20, 110, 210, 120, 0, 1, 30, 270, 974, 1452, 720, 0, 1, 42, 560, 3248, 8946, 11256, 5040, 0, 1, 56, 1036, 8792, 38338, 87504, 97296, 40320, 0, 1, 72, 1764, 20580, 129834, 463050, 920184, 930960, 362880
Offset: 0

Views

Author

Philippe Deléham, Jan 11 2004

Keywords

Comments

Row reverse appears to be A111184. - Peter Bala, Feb 17 2017

Examples

			Triangle begins:
  1;
  0, 1;
  0, 1,  2;
  0, 1,  6,   6;
  0, 1, 12,  34,  24;
  0, 1, 20, 110, 210,  120;
  0, 1, 30, 270, 974, 1452, 720; ...
		

Crossrefs

Row sums: A003319.

Programs

  • Mathematica
    m = 10;
    gf = (1/x)*(1-1/(1+Sum[Product[(1+k*y), {k, 0, n-1}]*x^n, {n, 1, m}]));
    CoefficientList[#, y]& /@ CoefficientList[gf + O[x]^m, x] // Flatten (* Jean-François Alcover, May 11 2019 *)
  • PARI
    T(n,k)=if(nPaul D. Hanna, Aug 16 2005

Formula

Sum_{k=0..n} x^(n-k)*T(n,k) = A111528(x, n); see A000142, A003319, A111529, A111530, A111531, A111532, A111533 for x = 0, 1, 2, 3, 4, 5, 6. - Philippe Deléham, Aug 09 2005
Sum_{k=0..n} T(n,k)*3^k = A107716(n). - Philippe Deléham, Aug 15 2005
Sum_{k=0..n} T(n,k)*2^k = A000698(n+1). - Philippe Deléham, Aug 15 2005
G.f.: A(x, y) = (1/x)*(1 - 1/(1 + Sum_{n>=1} [Product_{k=0..n-1}(1+k*y)]*x^n )). - Paul D. Hanna, Aug 16 2005

A107727 Matrix inverse of A107719.

Original entry on oeis.org

1, -1, 1, -3, -2, 1, -21, -7, -3, 1, -219, -53, -13, -4, 1, -2973, -583, -115, -21, -5, 1, -49323, -8249, -1437, -217, -31, -6, 1, -964173, -141655, -22715, -3101, -369, -43, -7, 1, -21680571, -2853185, -430877, -55251, -5975, -581, -57, -8, 1, -551173053, -65887783, -9505707, -1168349, -119137
Offset: 0

Views

Author

Paul D. Hanna, May 30 2005

Keywords

Comments

Matrix square is A107728. Matrix cube is A107726. Column 0 is negative A107716 shift right.

Examples

			Triangle begins:
1;
-1,1;
-3,-2,1;
-21,-7,-3,1;
-219,-53,-13,-4,1;
-2973,-583,-115,-21,-5,1;
-49323,-8249,-1437,-217,-31,-6,1;
-964173,-141655,-22715,-3101,-369,-43,-7,1; ...
		

Crossrefs

Programs

  • PARI
    {T(n,k)=local(L,N,M=matrix(n+1,n+1,m,j,if(m>=j,if(m==j,1,if(m==j+1,-3*j, polcoeff(1/sum(i=0,m-j,prod(r=0,i-1,3*r+1)*x^i)+O(x^m),m-j)))))^-1); L=sum(i=1,#M,(M^0-M)^i/i)/3;N=sum(i=0,#L,L^i/i!); return(if(n<0,0,N[n+1,k+1]))}

A172455 The case S(6,-4,-1) of the family of self-convolutive recurrences studied by Martin and Kearney.

Original entry on oeis.org

1, 7, 84, 1463, 33936, 990542, 34938624, 1445713003, 68639375616, 3676366634402, 219208706540544, 14397191399702118, 1032543050697424896, 80280469685284582812, 6725557192852592984064, 603931579625379293509683
Offset: 1

Views

Author

N. J. A. Sloane, Nov 20 2010

Keywords

Examples

			G.f. = x + 7*x^2 + 84*x^3 + 1463*x^4 + 33936*x^5 + 990542*x^6 + 34938624*x^7 + ...
a(2) = 7 since (6*2 - 4) * a(2-1) - (a(1) * a(2-1)) = 7.
		

Crossrefs

Cf. A000079 S(1,1,-1), A000108 S(0,0,1), A000142 S(1,-1,0), A000244 S(2,1,-2), A000351 S(4,1,-4), A000400 S(5,1,-5), A000420 S(6,1,-6), A000698 S(2,-3,1), A001710 S(1,1,0), A001715 S(1,2,0), A001720 S(1,3,0), A001725 S(1,4,0), A001730 S(1,5,0), A003319 S(1,-2,1), A005411 S(2,-4,1), A005412 S(2,-2,1), A006012 S(-1,2,2), A006318 S(0,1,1), A047891 S(0,2,1), A049388 S(1,6,0), A051604 S(3,1,0), A051605 S(3,2,0), A051606 S(3,3,0), A051607 S(3,4,0), A051608 S(3,5,0), A051609 S(3,6,0), A051617 S(4,1,0), A051618 S(4,2,0), A051619 S(4,3,0), A051620 S(4,4,0), A051621 S(4,5,0), A051622 S(4,6,0), A051687 S(5,1,0), A051688 S(5,2,0), A051689 S(5,3,0), A051690 S(5,4,0), A051691 S(5,5,0), A053100 S(6,1,0), A053101 S(6,2,0), A053102 S(6,3,0), A053103 S(6,4,0), A053104 S(7,1,0), A053105 S(7,2,0), A053106 S(7,3,0), A062980 S(6,-8,1), A082298 S(0,3,1), A082301 S(0,4,1), A082302 S(0,5,1), A082305 S(0,6,1), A082366 S(0,7,1), A082367 S(0,8,1), A105523 S(0,-2,1), A107716 S(3,-4,1), A111529 S(1,-3,2), A111530 S(1,-4,3), A111531 S(1,-5,4), A111532 S(1,-6,5), A111533 S(1,-7,6), A111546 S(1,0,1), A111556 S(1,1,1), A143749 S(0,10,1), A146559 S(1,1,-2), A167872 S(2,-3,2), A172450 S(2,0,-1), A172485 S(-1,-2,3), A177354 S(1,2,1), A292186 S(4,-6,1), A292187 S(3, -5, 1).

Programs

  • Mathematica
    a[1] = 1; a[n_]:= a[n] = (6*n-4)*a[n-1] - Sum[a[k]*a[n-k], {k, 1, n-1}]; Table[a[n], {n, 1, 20}] (* Vaclav Kotesovec, Jan 19 2015 *)
  • PARI
    {a(n) = local(A); if( n<1, 0, A = vector(n); A[1] = 1; for( k=2, n, A[k] = (6 * k - 4) * A[k-1] - sum( j=1, k-1, A[j] * A[k-j])); A[n])} /* Michael Somos, Jul 24 2011 */
    
  • PARI
    S(v1, v2, v3, N=16) = {
      my(a = vector(N)); a[1] = 1;
      for (n = 2, N, a[n] = (v1*n+v2)*a[n-1] + v3*sum(j=1,n-1,a[j]*a[n-j])); a;
    };
    S(6,-4,-1)
    \\ test: y = x*Ser(S(6,-4,-1,201)); 6*x^2*y' == y^2 - (2*x-1)*y - x
    \\ Gheorghe Coserea, May 12 2017

Formula

a(n) = (6*n - 4) * a(n-1) - Sum_{k=1..n-1} a(k) * a(n-k) if n>1. - Michael Somos, Jul 24 2011
G.f.: x / (1 - 7*x / (1 - 5*x / (1 - 13*x / (1 - 11*x / (1 - 19*x / (1 - 17*x / ... )))))). - Michael Somos, Jan 03 2013
a(n) = 3/(2*Pi^2)*int((4*x)^((3*n-1)/2)/(Ai'(x)^2+Bi'(x)^2), x=0..inf), where Ai'(x), Bi'(x) are the derivatives of the Airy functions. [Vladimir Reshetnikov, Sep 24 2013]
a(n) ~ 6^n * (n-1)! / (2*Pi) [Martin + Kearney, 2011, p.16]. - Vaclav Kotesovec, Jan 19 2015
6*x^2*y' = y^2 - (2*x-1)*y - x, where y(x) = Sum_{n>=1} a(n)*x^n. - Gheorghe Coserea, May 12 2017
G.f.: x/(1 - 2*x - 5*x/(1 - 7*x/(1 - 11*x/(1 - 13*x/(1 - ... - (6*n - 1)*x/(1 - (6*n + 1)*x/(1 - .... Cf. A062980. - Peter Bala, May 21 2017

A107726 Matrix inverse of triangle A107717, read by rows.

Original entry on oeis.org

1, -3, 1, -3, -6, 1, -21, -3, -9, 1, -219, -21, -3, -12, 1, -2973, -219, -21, -3, -15, 1, -49323, -2973, -219, -21, -3, -18, 1, -964173, -49323, -2973, -219, -21, -3, -21, 1, -21680571, -964173, -49323, -2973, -219, -21, -3, -24, 1, -551173053, -21680571, -964173, -49323, -2973, -219, -21, -3, -27, 1
Offset: 0

Views

Author

Paul D. Hanna, May 30 2005

Keywords

Comments

Except for initial terms, each column is the same and equals negative A107716 (inverse INVERT of triple factorials).

Examples

			Triangle begins:
1;
-3,1;
-3,-6,1;
-21,-3,-9,1;
-219,-21,-3,-12,1;
-2973,-219,-21,-3,-15,1;
-49323,-2973,-219,-21,-3,-18,1;
-964173,-49323,-2973,-219,-21,-3,-21,1; ...
Matrix inverse is A107717:
1;
3,1;
21,6,1;
219,57,9,1;
2973,723,111,12,1;
49323,11361,1713,183,15,1; ...
		

Crossrefs

Programs

  • PARI
    T(n,k)=if(n=j,if(m==j,1,if(m==j+1,-3*j, polcoeff(1/sum(i=0,m-j,prod(r=0,i-1,3*r+1)*x^i)+O(x^m),m-j)))))[n+1,k+1])
Showing 1-6 of 6 results.