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

A005493 2-Bell numbers: a(n) = number of partitions of [n+1] with a distinguished block.

Original entry on oeis.org

1, 3, 10, 37, 151, 674, 3263, 17007, 94828, 562595, 3535027, 23430840, 163254885, 1192059223, 9097183602, 72384727657, 599211936355, 5150665398898, 45891416030315, 423145657921379, 4031845922290572, 39645290116637023, 401806863439720943, 4192631462935194064
Offset: 0

Views

Author

Keywords

Comments

Number of Boolean sublattices of the Boolean lattice of subsets of {1..n}.
a(n) = p(n+1) where p(x) is the unique degree n polynomial such that p(k) = A000110(k+1) for k = 0, 1, ..., n. - Michael Somos, Oct 07 2003
With offset 1, number of permutations beginning with 12 and avoiding 21-3.
Rows sums of Bell's triangle (A011971). - Jorge Coveiro, Dec 26 2004
Number of blocks in all set partitions of an (n+1)-set. Example: a(2)=10 because the set partitions of {1,2,3} are 1|2|3, 1|23, 12|3, 13|2 and 123, with a total of 10 blocks. - Emeric Deutsch, Nov 13 2006
Number of partitions of n+3 with at least one singleton and with the smallest element in a singleton equal to 2. - Olivier Gérard, Oct 29 2007
See page 29, Theorem 5.6 of my paper on the arXiv: These numbers are the dimensions of the homogeneous components of the operad called ComTrip associated with commutative triplicial algebras. (Triplicial algebras are related to even trees and also to L-algebras, see A006013.) - Philippe Leroux, Nov 17 2007
Number of set partitions of (n+2) elements where two specific elements are clustered separately. Example: a(1)=3 because 1/2/3, 1/23, 13/2 are the 3 set partitions with 1, 2 clustered separately. - Andrey Goder (andy.goder(AT)gmail.com), Dec 17 2007
Equals A008277 * [1,2,3,...], i.e., the product of the Stirling number of the second kind triangle and the natural number vector. a(n+1) = row sums of triangle A137650. - Gary W. Adamson, Jan 31 2008
Prefaced with a "1" = row sums of triangle A152433. - Gary W. Adamson, Dec 04 2008
Equals row sums of triangle A159573. - Gary W. Adamson, Apr 16 2009
Number of embedded coalitions in an (n+1)-person game. - David Yeung (wkyeung(AT)hkbu.edu.hk), May 08 2008
If prefixed with 0, gives first differences of Bell numbers A000110 (cf. A106436). - N. J. A. Sloane, Aug 29 2013
Sum_{n>=0} a(n)/n! = e^(e+1) = 41.19355567... (see A235214). Contrast with e^(e-1) = Sum_{n>=0} A000110(n)/n!. - Richard R. Forberg, Jan 05 2014

Examples

			For example, a(1) counts (12), (1)-2, 1-(2) where dashes separate blocks and the distinguished block is parenthesized.
		

References

  • Olivier Gérard and Karol A. Penson, A budget of set partition statistics, in preparation. Unpublished as of 2017.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

A row or column of the array A108087.
Row sums of triangle A143494. - Wolfdieter Lang, Sep 29 2011. And also of triangle A362924. - N. J. A. Sloane, Aug 10 2023

Programs

  • Maple
    with(combinat): seq(bell(n+2)-bell(n+1),n=0..22); # Emeric Deutsch, Nov 13 2006
    seq(add(binomial(n, k)*(bell(n-k)), k=1..n), n=1..23); # Zerinvary Lajos, Dec 01 2006
    A005493  := proc(n) local a,b,i;
    a := [seq(3,i=1..n)]; b := [seq(2,i=1..n)];
    2^n*exp(-x)*hypergeom(a,b,x); round(evalf(subs(x=1,%),66)) end:
    seq(A005493(n),n=0..22); # Peter Luschny, Mar 30 2011
    BT := proc(n,k) option remember; if n = 0 and k = 0 then 1
    elif k = n then BT(n-1,0) else BT(n,k+1)+BT(n-1,k) fi end:
    A005493 := n -> add(BT(n,k),k=0..n):
    seq(A005493(i),i=0..22); # Peter Luschny, Aug 04 2011
    # For Maple code for r-Bell numbers, etc., see A232472. - N. J. A. Sloane, Nov 27 2013
  • Mathematica
    a=Exp[x]-1; Rest[CoefficientList[Series[a Exp[a],{x,0,20}],x] * Table[n!,{n,0,20}]]
    a[ n_] := If[ n<0, 0, With[ {m = n+1}, m! SeriesCoefficient[ # Exp@# &[ Exp@x - 1], {x, 0, m}]]]; (* Michael Somos, Nov 16 2011 *)
    Differences[BellB[Range[30]]] (* Harvey P. Dale, Oct 16 2014 *)
  • PARI
    {a(n) = if( n<0, 0, n! * polcoeff( exp( exp( x + x * O(x^n)) + 2*x - 1), n))}; /* Michael Somos, Oct 09 2002 */
    
  • PARI
    {a(n) = if( n<0, 0, n+=2; subst( polinterpolate( Vec( serlaplace( exp( exp( x + O(x^n)) - 1) - 1))), x, n))}; /* Michael Somos, Oct 07 2003 */
    
  • Python
    # requires python 3.2 or higher. Otherwise use def'n of accumulate in python docs.
    from itertools import accumulate
    A005493_list, blist, b = [], [1], 1
    for _ in range(1001):
        blist = list(accumulate([b]+blist))
        b = blist[-1]
        A005493_list.append(blist[-2])
    # Chai Wah Wu, Sep 02 2014, updated Chai Wah Wu, Sep 20 2014

Formula

a(n-1) = Sum_{k=1..n} k*Stirling2(n, k) for n>=1.
E.g.f.: exp(exp(x) + 2*x - 1). First differences of Bell numbers (if offset 1). - Michael Somos, Oct 09 2002
G.f.: Sum_{k>=0} (x^k/Product_{l=1..k} (1-(l+1)x)). - Ralf Stephan, Apr 18 2004
a(n) = Sum_{i=0..n} 2^(n-i)*B(i)*binomial(n,i) where B(n) = Bell numbers A000110(n). - Fred Lunnon, Aug 04 2007 [Written umbrally, a(n) = (B+2)^n. - N. J. A. Sloane, Feb 07 2009]
Representation as an infinite series: a(n-1) = Sum_{k>=2} (k^n*(k-1)/k!)/exp(1), n=1, 2, ... This is a Dobinski-type summation formula. - Karol A. Penson, Mar 14 2002
Row sums of A011971 (Aitken's array, also called Bell triangle). - Philippe Deléham, Nov 15 2003
a(n) = exp(-1)*Sum_{k>=0} ((k+2)^n)/k!. - Gerald McGarvey, Jun 03 2004
Recurrence: a(n+1) = 1 + Sum_{j=1..n} (1+binomial(n, j))*a(j). - Jon Perry, Apr 25 2005
a(n) = A000296(n+3) - A000296(n+1). - Philippe Deléham, Jul 31 2005
a(n) = B(n+2) - B(n+1), where B(n) are Bell numbers (A000110). - Franklin T. Adams-Watters, Jul 13 2006
a(n) = A123158(n,2). - Philippe Deléham, Oct 06 2006
Binomial transform of Bell numbers 1, 2, 5, 15, 52, 203, 877, 4140, ... (see A000110).
Define f_1(x), f_2(x), ... such that f_1(x)=x*e^x, f_{n+1}(x) = (d/dx)(x*f_n(x)), for n=2,3,.... Then a(n-1) = e^(-1)*f_n(1). - Milan Janjic, May 30 2008
Representation of numbers a(n), n=0,1..., as special values of hypergeometric function of type (n)F(n), in Maple notation: a(n)=exp(-1)*2^n*hypergeom([3,3...3],[2.2...2],1), n=0,1..., i.e., having n parameters all equal to 3 in the numerator, having n parameters all equal to 2 in the denominator and the value of the argument equal to 1. Examples: a(0)= 2^0*evalf(hypergeom([],[],1)/exp(1))=1 a(1)= 2^1*evalf(hypergeom([3],[2],1)/exp(1))=3 a(2)= 2^2*evalf(hypergeom([3,3],[2,2],1)/exp(1))=10 a(3)= 2^3*evalf(hypergeom([3,3,3],[2,2,2],1)/exp(1))=37 a(4)= 2^4*evalf(hypergeom([3,3,3,3],[2,2,2,2],1)/exp(1))=151 a(5)= 2^5*evalf(hypergeom([3,3,3,3,3],[2,2,2,2,2],1)/exp(1)) = 674. - Karol A. Penson, Sep 28 2007
Let A be the upper Hessenberg matrix of order n defined by: A[i,i-1]=-1, A[i,j]=binomial(j-1,i-1), (i <= j), and A[i,j]=0 otherwise. Then, for n >= 1, a(n) = (-1)^(n)charpoly(A,-2). - Milan Janjic, Jul 08 2010
a(n) = D^(n+1)(x*exp(x)) evaluated at x = 0, where D is the operator (1+x)*d/dx. Cf. A003128, A052852 and A009737. - Peter Bala, Nov 25 2011
From Sergei N. Gladkovskii, Oct 11 2012 to Jan 26 2014: (Start)
Continued fractions:
G.f.: 1/U(0) where U(k) = 1 - x*(k+3) - x^2*(k+1)/U(k+1).
G.f.: 1/(U(0)-x) where U(k) = 1 - x - x*(k+1)/(1 - x/U(k+1)).
G.f.: G(0)/(1-x) where G(k) = 1 - 2*x*(k+1)/((2*k+1)*(2*x*k+2*x-1) - x*(2*k+1)*(2*k+3)*(2*x*k+2*x-1)/(x*(2*k+3) - 2*(k+1)*(2*x*k+3*x-1)/G(k+1) )).
G.f.: (G(0) - 1)/(x-1) where G(k) = 1 - 1/(1-2*x-k*x)/(1-x/(x-1/G(k+1) )).
G.f.: -G(0)/x where G(k) = 1 - 1/(1-k*x-x)/(1-x/(x-1/G(k+1) )).
G.f.: 1 - 2/x + (1/x-1)*S where S = sum(k>=0, ( 1 + (1-x)/(1-x-x*k) )*(x/(1-x))^k / prod(i=0..k-1, (1-x-x*i)/(1-x) ) ).
G.f.: (1-x)/x/(G(0)-x) - 1/x where G(k) = 1 - x*(k+1)/(1 - x/G(k+1) ).
G.f.: (1/G(0) - 1)/x^3 where G(k) = 1 - x/(x - 1/(1 + 1/(x*k-1)/G(k+1) )).
G.f.: 1/Q(0), where Q(k)= 1 - 2*x - x/(1 - x*(k+1)/Q(k+1)).
G.f.: G(0)/(1-3*x), where G(k) = 1 - x^2*(k+1)/( x^2*(k+1) - (1 - x*(k+3))*(1 - x*(k+4))/G(k+1) ). (End)
a(n) ~ exp(n/LambertW(n) + 3*LambertW(n)/2 - n - 1) * n^(n + 1/2) / LambertW(n)^(n+1). - Vaclav Kotesovec, Jun 09 2020
a(0) = 1; a(n) = 2 * a(n-1) + Sum_{k=0..n-1} binomial(n-1,k) * a(k). - Ilya Gutkovskiy, Jul 02 2020
a(n) ~ n^2 * Bell(n) / LambertW(n)^2 * (1 - LambertW(n)/n). - Vaclav Kotesovec, Jul 28 2021
a(n) = Sum_{k=0..n} 3^k*A124323(n, k). - Mélika Tebni, Jun 02 2022

Extensions

Definition revised by David Callan, Oct 11 2005

A049444 Generalized Stirling number triangle of first kind.

Original entry on oeis.org

1, -2, 1, 6, -5, 1, -24, 26, -9, 1, 120, -154, 71, -14, 1, -720, 1044, -580, 155, -20, 1, 5040, -8028, 5104, -1665, 295, -27, 1, -40320, 69264, -48860, 18424, -4025, 511, -35, 1, 362880, -663696, 509004, -214676, 54649, -8624, 826, -44, 1, -3628800, 6999840, -5753736
Offset: 0

Views

Author

Keywords

Comments

T(n, k) = ^2P_n^k in the notation of the given reference with T(0, 0) := 1. The monic row polynomials s(n,x) := Sum_{m=0..n} T(n, k)*x^k which are s(n, x) = Product_{j=0..n-1} (x-(2+j)), n >= 1 and s(0, x)=1 satisfy s(n, x+y) = Sum_{k=0..n} binomial(n, k)*s(k,x)*S1(n-k, y), with the Stirling1 polynomials S1(n, x) = Sum_{m=1..n} (A008275(n, m)*x^m) and S1(0, x)=1.
In the umbral calculus (see the S. Roman reference given in A048854) the s(n, x) polynomials are called Sheffer polynomials for (exp(2*t), exp(t)-1). This translates to the usual exponential Riordan (Sheffer) notation (1/(1+x)^2, log(1+x)).
See A143491 for the unsigned version of this array and A143494 for the inverse. - Peter Bala, Aug 25 2008
Corresponding to the generalized Stirling number triangle of second kind A137650. - Peter Luschny, Sep 18 2011
Unsigned, reversed rows (cf. A145324, A136124) are the dimensions of the cohomology of a complex manifold with a symmetric group (S_n) action. See p. 17 of the Hyde and Lagarias link. See also the Murri link for an interpretation as the Betti numbers of the moduli space M(0,n) of smooth Riemann surfaces. - Tom Copeland, Dec 09 2016
The row polynomials s(n, x) = (-1)^n*risingfactorial(2 - x, n) are related to the column sequences of the unsigned Abel triangle A137452(n, k), for k >= 2. See the formula there. - Wolfdieter Lang, Nov 21 2022

Examples

			The Triangle  begins:
n\k       0       1        2       3       4      5      6    7   8 9 ...
0:        1
1:       -2       1
2:        6      -5        1
3:      -24      26       -9       1
4:      120    -154       71     -14       1
5      -720    1044     -580     155     -20      1
6:     5040   -8028     5104   -1665     295    -27      1
7:   -40320   69264   -48860   18424   -4025    511    -35    1
8:   362880 -663696   509004 -214676   54649  -8624    826  -44
9: -3628800 6999840 -5753736 2655764 -761166 140889 -16884 1266 -54 1
...  [reformatted by _Wolfdieter Lang_, Nov 21 2022]
		

References

  • Y. Manin, Frobenius Manifolds, Quantum Cohomology and Moduli Spaces, American Math. Soc. Colloquium Publications Vol. 47, 1999. [From Tom Copeland, Jun 29 2008]
  • S. Roman, The Umbral Calculus, Academic Press, 1984 (also Dover Publications, 2005).

Crossrefs

Unsigned column sequences are A000142(n+1), A001705-A001709. Row sums (signed triangle): n!*(-1)^n, row sums (unsigned triangle): A001710(n-2). Cf. A008275 (Stirling1 triangle).

Programs

  • Haskell
    a049444 n k = a049444_tabl !! n !! k
    a049444_row n = a049444_tabl !! n
    a049444_tabl = map fst $ iterate (\(row, i) ->
       (zipWith (-) ([0] ++ row) $ map (* i) (row ++ [0]), i + 1)) ([1], 2)
    -- Reinhard Zumkeller, Mar 11 2014
  • Maple
    A049444_row := proc(n) local k,i;
    add(add(Stirling1(n, n-i), i=0..k)*x^(n-k-1),k=0..n-1);
    seq(coeff(%,x,k),k=1..n-1) end:
    seq(print(A049444_row(n)),n=1..7); # Peter Luschny, Sep 18 2011
    A049444:= (n, k)-> add((-1)^(n-j)*(n-j+1)!*binomial(n, j)*Stirling1(j, k), j=0..n):
    seq(print(seq(A049444(n, k), k=0..n)), n=0..11);  # Mélika Tebni, May 02 2022
  • Mathematica
    t[n_, i_] = Sum[(-1)^k*Binomial[n, k]*(k+1)!*StirlingS1[n-k, i], {k, 0, n-i}]; Flatten[Table[t[n, i], {n, 0, 9}, {i, 0, n}]] [[1 ;; 48]]
    (* Jean-François Alcover, Apr 29 2011, after Milan Janjic *)

Formula

T(n, k) = T(n-1, k-1) - (n+1)*T(n-1, k), n >= k >= 0; T(n, k) = 0, n < k; T(n, -1) = 0, T(0, 0) = 1.
E.g.f. for k-th column of signed triangle: ((log(1+x))^k)/(k!*(1+x)^2).
Triangle (signed) = [-2, -1, -3, -2, -4, -3, -5, -4, -6, -5, ...] DELTA [1, 0, 1, 0, 1, 0, 1, 0, ...]; triangle (unsigned) = [2, 1, 3, 2, 4, 3, 5, 4, 6, 5, ...] DELTA [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, ...], where DELTA is Deléham's operator defined in A084938 (unsigned version in A143491).
E.g.f.: (1 + x)^(y-2). - Vladeta Jovovic, May 17 2004 [For row polynomials s(n, y)]
With P(n, t) = Sum_{j=0..n-2} T(n-2,j) * t^j and P(1, t) = -1 and P(0, t) = 1, then G(x, t) = -1 + exp[P(.,t)*x] = [(1+x)^t - 1 - t^2 * x] / [t(t-1)], whose compositional inverse in x about 0 is given in A074060. G(x, 0) = -log(1+x) and G(x, 1) = (1+x) log(1+x) - 2x. G(x, q^2) occurs in formulas on pages 194-196 of the Manin reference. - Tom Copeland, Feb 17 2008
If we define f(n,i,a) = Sum_{k=0..n-i} binomial(n,k)*Stirling1(n-k,i)*Product_{j=0..k-1} (-a-j), then T(n,i) = f(n,i,2), for n=1,2,...; i=0..n. - Milan Janjic, Dec 21 2008
T(n, k) = Sum_{j=0..n} (-1)^(n-j)*(n-j+1)!*binomial(n, j)*Stirling1(j, k). - Mélika Tebni, May 02 2022
From Wolfdieter Lang, Nov 24 2022: (Start)
Recurrence for row polynomials {s(n, x)}_{n>=0}: s(0, x) = 1, s(n, x) = (x - 2)*exp(-(d/dx)) s(n-1, x), for n >= 1. This is adapted from the general Sheffer result given by S. Roman, Corollary 3.7.2., p. 50.
Recurrence for column sequence {T(n, k)}{n>=k}: T(n, n) = 1, T(n, k) = (n!/(n-k))*Sum{j=k..n-1} (1/j!)*(a(n-1-j) + k*beta(n-1-j))*T(n-1, k), for k >= 0, where alpha = repeat(-2, 2) and beta(n) = [x^n] (d/dx)log(log(x)/x) = (-1)^(n+1)*A002208(n+1)/A002209(n+1), for n >= 0. This is the adapted Boas-Buck recurrence, also given in Rainville, Theorem 50., p. 141, For the references and a comment see A046521. (End)

Extensions

Second formula corrected by Philippe Deléham, Nov 09 2008

A211561 T(n,k) = number of nonnegative integer arrays of length n+k-1 with new values 0 upwards introduced in order, and containing the value k-1.

Original entry on oeis.org

1, 1, 2, 1, 4, 5, 1, 7, 14, 15, 1, 11, 36, 51, 52, 1, 16, 81, 171, 202, 203, 1, 22, 162, 512, 813, 876, 877, 1, 29, 295, 1345, 3046, 4012, 4139, 4140, 1, 37, 499, 3145, 10096, 17866, 20891, 21146, 21147, 1, 46, 796, 6676, 29503, 72028, 106133, 115463, 115974, 115975
Offset: 1

Views

Author

R. H. Hardin, Apr 15 2012

Keywords

Comments

Table starts
....1.....1......1......1.......1........1........1.........1..........1
....2.....4......7.....11......16.......22.......29........37.........46
....5....14.....36.....81.....162......295......499.......796.......1211
...15....51....171....512....1345.....3145.....6676.....13091......24047
...52...202....813...3046...10096....29503....77078....183074.....401337
..203...876...4012..17866...72028...256565...810470...2300949....5957407
..877..4139..20891.106133..503295..2134122..8016373..26869727...81381744
.4140.21146.115463.649045.3513522.17337685.76199007.298009584.1046405027
Reading along antidiagonals seems to create A137650. - R. J. Mathar, Nov 29 2015
See also A133611. - Alois P. Heinz, Aug 30 2019

Examples

			Some solutions for n=5, k=4:
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
..1....1....1....0....1....1....1....1....0....1....1....1....1....1....1....0
..1....2....2....0....0....2....2....0....1....2....2....2....2....0....2....1
..2....0....2....0....2....0....3....2....2....2....3....3....2....2....0....2
..3....1....3....1....3....2....1....3....3....2....1....3....3....2....1....2
..4....0....3....0....3....3....4....1....3....3....0....2....4....3....2....2
..5....3....3....2....4....4....2....1....2....2....1....0....4....3....3....2
..2....0....1....3....5....4....4....4....4....2....0....4....3....1....2....3
		

Crossrefs

Column 1 is A000110.
Column 2 is A058692(n+1).
Column 3 is A058681(n+1).
Row 2 is A000124.

Formula

Empirical: T(n,k) = Sum_{j=k..n+k-1} stirling2(n+k-1,j)

A320955 Square array read by ascending antidiagonals: A(n, k) (n >= 0, k >= 0) = Sum_{j=0..n-1} (!j/j!)*((n - j)^k/(n - j)!) if k > 0 and 1 if k = 0. Here !n denotes the subfactorial of n.

Original entry on oeis.org

1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 2, 1, 0, 1, 1, 2, 4, 1, 0, 1, 1, 2, 5, 8, 1, 0, 1, 1, 2, 5, 14, 16, 1, 0, 1, 1, 2, 5, 15, 41, 32, 1, 0, 1, 1, 2, 5, 15, 51, 122, 64, 1, 0, 1, 1, 2, 5, 15, 52, 187, 365, 128, 1, 0, 1, 1, 2, 5, 15, 52, 202, 715, 1094, 256, 1, 0
Offset: 0

Views

Author

Peter Luschny, Nov 05 2018

Keywords

Comments

Arndt and Sloane (see the link and A278984) identify the sequence to give "the number of words of length n over an alphabet of size b that are in standard order" and provide the formula Sum_{j = 1..b} Stirling_2(n, j) assuming b >= 1 and j >= 1. Compared to the array as defined here this misses the first row and the first column of our array.
The method used here is the special case of a general method described in A320956 applied to the function exp. For applications to other functions see the cross references.
A(k,n) is the number of color patterns (set partitions) for an oriented row of length n using up to k colors (subsets). Two color patterns are equivalent if the colors are permuted. For A(3,4) = 14, the six achiral patterns are AAAA, AABB, ABAB, ABBA, ABBC, and ABCA; the eight chiral patterns are the four chiral pairs AAAB-ABBB, AABA-ABAA, AABC-ABCC, and ABAC-ABCB. - Robert A. Russell, Nov 10 2018

Examples

			Array starts:
n\k   0  1  2  3   4   5    6    7     8      9  ...
----------------------------------------------------
[0]   1, 0, 0, 0,  0,  0,   0,   0,    0,     0, ...  A000007
[1]   1, 1, 1, 1,  1,  1,   1,   1,    1,     1, ...  A000012
[2]   1, 1, 2, 4,  8, 16,  32,  64,  128,   256, ...  A011782
[3]   1, 1, 2, 5, 14, 41, 122, 365, 1094,  3281, ...  A124302
[4]   1, 1, 2, 5, 15, 51, 187, 715, 2795, 11051, ...  A124303
[5]   1, 1, 2, 5, 15, 52, 202, 855, 3845, 18002, ...  A056272
[6]   1, 1, 2, 5, 15, 52, 203, 876, 4111, 20648, ...  A056273, ?A284727
[7]   1, 1, 2, 5, 15, 52, 203, 877, 4139, 21110, ...
[8]   1, 1, 2, 5, 15, 52, 203, 877, 4140, 21146, ...
[9]   1, 1, 2, 5, 15, 52, 203, 877, 4140, 21147, ...
----------------------------------------------------
Seen as a triangle given by the descending antidiagonals:
[0]             1
[1]            0, 1
[2]          0, 1, 1
[3]        0, 1, 1, 1
[4]       0, 1, 2, 1, 1
[5]     0, 1, 4, 2, 1, 1
[6]    0, 1, 8, 5, 2, 1, 1
[7]  0, 1, 16, 14, 5, 2, 1, 1
		

Crossrefs

Antidiagonal sums (and row sums of the triangle): A320964.
Cf. this sequence (exp), A320962 (log(x+1)), A320956 (sec+tan), A320958 (arcsin), A320959 (arctanh).
Cf. A320750 (unoriented), A320751 (chiral), A305749 (achiral).

Programs

  • Maple
    A := (n, k) -> if k = 0 then 1 else add(A008290(n, n-j)*(n-j)^k, j=0..n-1)/n! fi:
    seq(lprint(seq(A(n, k), k=0..9)), n=0..9); # Prints the array row-wise.
    seq(seq(A(n-k, k), k=0..n), n=0..11); # Gives the array as listed.
  • Mathematica
    T[n_, 0] := 1; T[n_, k_] := Sum[(Subfactorial[j]/Factorial[j])((n - j)^k/(n - j)!), {j, 0, n - 1}]; Table[T[n - k, k], {n, 0, 11}, {k, 0, n}] // Flatten
    Table[Sum[StirlingS2[k, j], {j, 0, n-k}], {n, 0, 11}, {k, 0, n}] // Flatten (* Robert A. Russell, Nov 10 2018 *)

Formula

A(n, k) = (1/n!)*Sum_{j=0..n-1} A008290(n, n-j)*(n-j)^k if k > 0.
If one drops the special case A(n, 0) = 1 from the definition then column 0 becomes Sum_{k=0..n} (-1)^k/k! = A103816(n)/A053556(n).
Row n is given for k >= 1 by a_n(k), where
a_0(k) = 0^k/0!.
a_1(k) = 1^k/1!.
a_2(k) = (2^k)/2!.
a_3(k) = (3^k + 3)/3!.
a_4(k) = (6*2^k + 4^k + 8)/4!.
a_5(k) = (20*2^k + 10*3^k + 5^k + 45)/5!.
a_6(k) = (135*2^k + 40*3^k + 15*4^k + 6^k + 264)/6!.
a_7(k) = (924*2^k + 315*3^k + 70*4^k + 21*5^k + 7^k + 1855)/7!.
a_8(k) = (7420*2^k + 2464*3^k + 630*4^k + 112*5^k + 28*6^k + 8^k + 14832)/8!.
Note that the coefficients of the generating functions a_n are the recontres numbers A000240, A000387, A000449, ...
Rewriting the formulas with exponential generating functions for the rows we have egf(n) = Sum_{k=0..n} !k*binomial(n,k)*exp(x*(n-k)) and A(n, k) = (k!/n!)*[x^k] egf(n). In this formulation no special rule for the case k = 0 is needed.
The rows converge to the Bell numbers. Convergence here means that for every fixed k the terms in column k differ from A000110(k) only for finitely many indices.
A(n, n) are the Bell numbers A000110(n) for n >= 0.
Let S(n, k) = Bell(n+k+1) - A(n, k+n+1) for n >= 0 and k >= 0, then the square array S(n, k) read by descending antidiagonals equals provable the triangle A137650 and equals empirical the transpose of the array A211561.

A133611 A triangular array of numbers related to factorization and number of parts in Murasaki diagrams.

Original entry on oeis.org

1, 1, 1, 2, 2, 1, 5, 5, 4, 1, 15, 15, 14, 7, 1, 52, 52, 51, 36, 11, 1, 203, 203, 202, 171, 81, 16, 1, 877, 877, 876, 813, 512, 162, 22, 1, 4140, 4140, 4139, 4012, 3046, 1345, 295, 29, 1, 21147, 21147, 21146, 20891, 17866, 10096, 3145, 499, 37, 1, 115975, 115975, 115974, 115463, 106133, 72028, 29503, 6676, 796, 46, 1
Offset: 1

Views

Author

Alford Arnold, Sep 18 2007

Keywords

Comments

When the Bell multisets are encoded as described in A130274, the seven case in the example can be coded as 19578, 15942, 30873, 26427, 35642, 29491 and 32938.

Examples

			The array begins:
   1
   1  1
   2  2  1
   5  5  4  1
  15 15 14  7  1
  52 52 51 36 11 1
  ...
a(14) = 7 because only seven of the 52 Bell multisets can be generated by attaching a new stroke to the third element in the set of diaqrams with four strokes.
		

Crossrefs

Cf. A000110 (row sums), A137650 (a similar triangle), A130274, A211561.
Cf. A048993.

Programs

  • Maple
    T:= proc(i,j) add(combinat:-stirling2(i,k),k=j..i) end proc:
    seq(seq(T(i,j),j=0..i),i=0..15); # Robert Israel, Nov 01 2018
    # second Maple program:
    b:= proc(n, t) option remember; `if`(n>0, add(b(n-j, t+1)*
          binomial(n-1, j-1), j=1..n), add(x^j, j=0..t))
        end:
    T:= n-> (p-> seq(coeff(p, x, i), i=0..n))(b(n, 0)):
    seq(T(n), n=0..10);  # Alois P. Heinz, Aug 30 2019
  • Mathematica
    row[n_] := Table[StirlingS2[n, k], {k, 0, n}] // Reverse // Accumulate // Reverse;
    Array[row, 11, 0] // Flatten (* Jean-François Alcover, Dec 07 2019 *)

Formula

Equals A048993 * A000012. - Gary W. Adamson, Jan 29 2008
That is, T(i,j) = Sum_{k=j..i} A048993(i,k) for 0 <= j <= i. - Robert Israel, Nov 01 2018

Extensions

Definition not clear to me - N. J. A. Sloane, Sep 18 2007
More terms from Robert Israel, Nov 01 2018

A109822 Triangle read by rows: T(n,1)=1, T(n,k) = T(n-1,k) + (n-1)T(n-1, k-1) for 1 <= k <= n.

Original entry on oeis.org

1, 1, 2, 1, 4, 6, 1, 7, 18, 24, 1, 11, 46, 96, 120, 1, 16, 101, 326, 600, 720, 1, 22, 197, 932, 2556, 4320, 5040, 1, 29, 351, 2311, 9080, 22212, 35280, 40320, 1, 37, 583, 5119, 27568, 94852, 212976, 322560, 362880, 1, 46, 916, 10366, 73639, 342964, 1066644
Offset: 1

Views

Author

Emeric Deutsch, Jul 03 2005

Keywords

Comments

T(n,n) = n!. Sum of row n is the signless Stirling number of the first kind s(n,2)(A000254). T(n,k) = A096747(n,k) for 1 <= k <= n.

Examples

			T(5,3) = 46 because 18 + 4*7 = 46.
Triangle begins:
Row 1:                    1
Row 2:                 1     2
Row 3:              1     4     6
Row 4:           1     7    18    24
Row 5:        1    11    46    96   120
Row 6:     1    16   101   326   600   720
Row 7:  1    22   197   932  2556  4320  5040
		

Crossrefs

Programs

  • Maple
    with(combinat): T:=(n,k)->add(abs(stirling1(n,n-i)),i=0..k-1): for n from 1 to 11 do seq(T(n,k),k=1..n) od; # yields sequence in triangular form T:=proc(n,k) if k=1 then 1 elif k=n then n! else T(n-1,k)+(n-1)*T(n-1,k-1) fi end: for n from 1 to 11 do seq(T(n,k),k=1..n) od; # yields sequence in triangular form. - Emeric Deutsch, Jul 03 2005
    A109822_row := proc(n) local k,i;
    add(add(abs(combinat[stirling1](n, n-i)), i=0..k)*x^(n-k-1),k=0..n-1);
    seq(coeff(%,x,n-k),k=1..n) end:
    seq(print(A109822_row(n)),n=1..7); # Peter Luschny, Sep 18 2011
  • Mathematica
    Table[Sum[Abs@ StirlingS1[n, n - i], {i, 0, k - 1}], {n, 10}, {k, n}] // Flatten (* Michael De Vlieger, Aug 17 2017 *)

Formula

T(n, k) = Sum_{i=0..k-1} |stirling1(n, n-i)| for 1 <= k <= n.
From Peter Bala, Jul 08 2012: (Start)
E.g.f.: x/(1-x)*{1/(1-x*z)^(1/x) - 1/(1-x*z)} = x*z + (x + 2*x^2)*z^2/2! + (x + 4*x^2 + 6*x^3)*z^3/3! + ... Cf. the e.g.f. of A059518.
(End)

A137649 Triangle read by rows, A000012 * A008277.

Original entry on oeis.org

1, 2, 1, 3, 4, 1, 4, 11, 7, 1, 5, 26, 32, 11, 1, 6, 57, 122, 76, 16, 1, 7, 120, 423, 426, 156, 22, 1, 8, 247, 1389, 2127, 1206, 288, 29, 1, 9, 502, 4414, 9897, 8157, 2934, 491, 37, 1, 10, 1013, 13744, 44002, 50682, 25761, 6371, 787, 46, 1
Offset: 1

Views

Author

Gary W. Adamson, Feb 01 2008

Keywords

Comments

Row sums = A024716: (1, 3, 8, 23, 75, 278, ...).

Examples

			First few rows of the triangle:
  1;
  2,   1;
  3,   4,   1;
  4,  11,   7,   1;
  5,  26,  32,  11,   1;
  6,  57, 122,  76,  16,  1;
  7, 120, 423, 426, 156, 22, 1;
  ...
Row 4 = (4, 11, 7, 1) = partial column sums of the first 4 rows of A008277:
  1;
  1, 1;
  1, 3, 1;
  1, 7, 6, 1;
  ...
		

Crossrefs

Formula

A000012 * A008277 (Stirling2 triangle) as infinite lower triangular matrices. Partial column sums of A008277.
Showing 1-7 of 7 results.