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 11 results. Next

A132609 Antidiagonal sum of table A072590(n,k) = n^(k-1)*k^(n-1) for n>=1.

Original entry on oeis.org

1, 2, 6, 26, 147, 1026, 8532, 82394, 906485, 11194402, 153347766, 2307805402, 37851581159, 672037936898, 12841521329896, 262772642843802, 5733086299727913, 132853067341477538, 3258726189638877610
Offset: 1

Views

Author

Paul D. Hanna, Aug 26 2007

Keywords

Comments

A072590(n,k) equals the number of spanning trees in complete bipartite graph K(n,k).
Also the number of minimum connected dominating sets of the (n+1)-triangular honeycomb bishop graph. - Eric W. Weisstein, Jun 03 2024 and Mar 05 2025

Crossrefs

Programs

  • Mathematica
    Table[Sum[(n - k + 1)^(k - 1) k^(n - k), {k, n}], {n, 30}] (* Harvey P. Dale, Jun 26 2021 *)
  • PARI
    a(n)=sum(k=1,n,(n-k+1)^(k-1)*k^(n-k))

Formula

a(n) = Sum_{k=1..n} (n-k+1)^(k-1)*k^(n-k) for n>=1.
a(n) ~ sqrt(2*Pi/3) * exp(1) * n^(n - 1/2) / 2^n. - Vaclav Kotesovec, Nov 22 2021

A001787 a(n) = n*2^(n-1).

Original entry on oeis.org

0, 1, 4, 12, 32, 80, 192, 448, 1024, 2304, 5120, 11264, 24576, 53248, 114688, 245760, 524288, 1114112, 2359296, 4980736, 10485760, 22020096, 46137344, 96468992, 201326592, 419430400, 872415232, 1811939328, 3758096384, 7784628224, 16106127360, 33285996544
Offset: 0

Views

Author

Keywords

Comments

Number of edges in an n-dimensional hypercube.
Number of 132-avoiding permutations of [n+2] containing exactly one 123 pattern. - Emeric Deutsch, Jul 13 2001
Number of ways to place n-1 nonattacking kings on a 2 X 2(n-1) chessboard for n >= 2. - Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), May 22 2001
Arithmetic derivative of 2^n: a(n) = A003415(A000079(n)). - Reinhard Zumkeller, Feb 26 2002
(-1) times the determinant of matrix A_{i,j} = -|i-j|, 0 <= i,j <= n.
a(n) is the number of ones in binary numbers 1 to 111...1 (n bits). a(n) = A000337(n) - A000337(n-1) for n = 2,3,... . - Emeric Deutsch, May 24 2003
The number of 2 X n 0-1 matrices containing n+1 1's and having no zero row or column. The number of spanning trees of the complete bipartite graph K(2,n). This is the case m = 2 of K(m,n). See A072590. - W. Edwin Clark, May 27 2003
Binomial transform of 0,1,2,3,4,5,... (A001477). Without the initial 0, binomial transform of odd numbers.
With an additional leading zero, [0,0,1,4,...] this is the binomial transform of the integers repeated A004526. Its formula is then (2^n*(n-1) + 0^n)/4. - Paul Barry, May 20 2003
Number of zeros in all different (n+1)-bit integers. - Ralf Stephan, Aug 02 2003
From Lekraj Beedassy, Jun 03 2004: (Start)
Final element of a summation table (as opposed to a difference table) whose first row consists of integers 0 through n (or first n+1 nonnegative integers A001477); illustrating the case n=5:
0 1 2 3 4 5
1 3 5 7 9
4 8 12 16
12 20 28
32 48
80
and the final element is a(5)=80. (End)
This sequence and A001871 arise in counting ordered trees of height at most k where only the rightmost branch at the root actually achieves this height and the count is by the number of edges, with k = 3 for this sequence and k = 4 for A001871.
Let R be a binary relation on the power set P(A) of a set A having n = |A| elements such that for all elements x,y of P(A), xRy if x is a proper subset of y and there are no z in P(A) such that x is a proper subset of z and z is a proper subset of y. Then a(n) = |R|. - Ross La Haye, Sep 21 2004
Number of 2 X n binary matrices avoiding simultaneously the right-angled numbered polyomino patterns (ranpp) (00;1) and (10;1). An occurrence of a ranpp (xy;z) in a matrix A=(a(i,j)) is a triple (a(i1,j1), a(i1,j2), a(i2,j1)) where i1 < i2, j1 < j2 and these elements are in same relative order as those in the triple (x,y,z). - Sergey Kitaev, Nov 11 2004
Number of subsequences 00 in all binary words of length n+1. Example: a(2)=4 because in 000,001,010,011,100,101,110,111 the sequence 00 occurs 4 times. - Emeric Deutsch, Apr 04 2005
If you expand the n-factor expression (a+1)*(b+1)*(c+1)*...*(z+1), there are a(n) variables in the result. For example, the 3-factor expression (a+1)*(b+1)*(c+1) expands to abc+ab+ac+bc+a+b+c+1 with a(3) = 12 variables. - David W. Wilson, May 08 2005
An inverse Chebyshev transform of n^2, where g(x)->(1/sqrt(1-4*x^2))*g(x*c(x^2)), c(x) the g.f. of A000108. - Paul Barry, May 13 2005
Sequences A018215 and A058962 interleaved. - Graeme McRae, Jul 12 2006
The number of never-decreasing positive integer sequences of length n with a maximum value of 2*n. - Ben Paul Thurston, Nov 13 2006
Total size of all the subsets of an n-element set. For example, a 2-element set has 1 subset of size 0, 2 subsets of size 1 and 1 of size 2. - Ross La Haye, Dec 30 2006
Convolution of the natural numbers [A000027] and A045623 beginning [0,1,2,5,...]. - Ross La Haye, Feb 03 2007
If M is the matrix (given by rows) [2,1;0,2] then the sequence gives the (1,2) entry in M^n. - Antonio M. Oller-Marcén, May 21 2007
If X_1,X_2,...,X_n is a partition of a 2n-set X into 2-blocks then, for n > 0, a(n) is equal to the number of (n+1)-subsets of X intersecting each X_i (i=1,2,...,n). - Milan Janjic, Jul 21 2007
Number of n-permutations of 3 objects u,v,w, with repetition allowed, containing exactly one u. Example: a(2)=4 because we have uv, vu, uw and wu. - Zerinvary Lajos, Dec 27 2007
A member of the family of sequences defined by a(n) = n*[c(1)*...*c(r)]^(n-1); c(i) integer. This sequence has c(1)=2, A027471 has c(1)=3. - Ctibor O. Zizka, Feb 23 2008
a(n) is the number of ways to split {1,2,...,n-1} into two (possibly empty) complementary intervals {1,2,...,i} and {i+1,i+2,...,n-1} and then select a subset from each interval. - Geoffrey Critzer, Jan 31 2009
Equals the Jacobsthal sequence A001045 convolved with A003945: (1, 3, 6, 12, ...). - Gary W. Adamson, May 23 2009
Starting with offset 1 = A059570: (1, 2, 6, 14, 34, ...) convolved with (1, 2, 2, 2, ...). - Gary W. Adamson, May 23 2009
Equals the first left hand column of A167591. - Johannes W. Meijer, Nov 12 2009
The number of tatami tilings of an n X n square with n monomers is n*2^(n-1). - Frank Ruskey, Sep 25 2010
Under T. D. Noe's variant of the hypersigma function, this sequence gives hypersigma(2^n): a(n) = A191161(A000079(n)). - Alonso del Arte, Nov 04 2011
Number of Dyck (n+2)-paths with exactly one valley at height 1 and no higher valley. - David Scambler, Nov 07 2011
Equals triangle A059260 * A016777 as a vector, where A016777 = (3n + 1): [1, 4, 7, 10, 13, ...]. - Gary W. Adamson, Mar 06 2012
Main transitions in systems of n particles with spin 1/2 (see A212697 with b=2). - Stanislav Sykora, May 25 2012
Let T(n,k) be the triangle with (first column) T(n,1) = 2*n-1 for n >= 1, otherwise T(n,k) = T(n,k-1) + T(n-1,k-1), then a(n) = T(n,n). - J. M. Bergot, Jan 17 2013
Sum of all parts of all compositions (ordered partitions) of n. The equivalent sequence for partitions is A066186. - Omar E. Pol, Aug 28 2013
Starting with a(1)=1: powers of 2 (A000079) self-convolved. - Bob Selcoe, Aug 05 2015
Coefficients of the series expansion of the normalized Schwarzian derivative -S{p(x)}/6 of the polynomial p(x) = -(x-x1)*(x-x2) with x1 + x2 = 1 (cf. A263646). - Tom Copeland, Nov 02 2015
a(n) is the number of North-East lattice paths from (0,0) to (n+1,n+1) that have exactly one east step below y = x-1 and no east steps above y = x+1. Details can be found in Pan and Remmel's link. - Ran Pan, Feb 03 2016
Also the number of maximal and maximum cliques in the n-hypercube graph for n > 0. - Eric W. Weisstein, Dec 01 2017
Let [n]={1,2,...,n}; then a(n-1) is the total number of elements missing in proper subsets of [n] that contain n to form [n]. For example, for n = 3, a(2) = 4 since the proper subsets of [3] that contain 3 are {3}, {1,3}, {2,3} and the total number of elements missing in these subsets to form [3] is 4: 2 in the first subset, 1 in the second, and 1 in the third. - Enrique Navarrete, Aug 08 2020
Number of 3-permutations of n elements avoiding the patterns 132, 231. See Bonichon and Sun. - Michel Marcus, Aug 19 2022

Examples

			a(2)=4 since 2314, 2341,3124 and 4123 are the only 132-avoiding permutations of 1234 containing exactly one increasing subsequence of length 3.
x + 4*x^2 + 12*x^3 + 32*x^4 + 80*x^5 + 192*x^6 + 448*x^7 + ...
a(5) = 1*0 + 5*1 + 10*2 + 10*3 + 5*4 + 1*5 = 80, with 1,5,10,10,5,1 the 5th row of Pascal's triangle. - _J. M. Bergot_, Apr 29 2014
		

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 796.
  • A. T. Benjamin and J. J. Quinn, Proofs that really count: the art of combinatorial proof, M.A.A. 2003, id. 131.
  • Clifford A. Pickover, The Math Book, From Pythagoras to the 57th Dimension, 250 Milestones in the History of Mathematics, Sterling Publ., NY, 2009, page 282.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Three other versions, essentially identical, are A085750, A097067, A118442.
Partial sums of A001792.
A058922(n+1) = 4*A001787(n).
Equals A090802(n, 1).
Column k=1 of A038207.
Row sums of A003506, A322427, A322428.

Programs

  • Haskell
    a001787 n = n * 2 ^ (n - 1)
    a001787_list = zipWith (*) [0..] $ 0 : a000079_list
    -- Reinhard Zumkeller, Jul 11 2014
    
  • Magma
    [n*2^(n-1): n in [0..40]]; // Vincenzo Librandi, Feb 04 2016
    
  • Maple
    spec := [S, {B=Set(Z, 0 <= card), S=Prod(Z, B, B)}, labeled]: seq(combstruct[count](spec, size=n), n=0..29); # Zerinvary Lajos, Oct 09 2006
    A001787:=1/(2*z-1)^2; # Simon Plouffe in his 1992 dissertation, dropping the initial zero
  • Mathematica
    Table[Sum[Binomial[n, i] i, {i, 0, n}], {n, 0, 30}] (* Geoffrey Critzer, Mar 18 2009 *)
    f[n_] := n 2^(n - 1); f[Range[0, 40]] (* Vladimir Joseph Stephan Orlovsky, Feb 09 2011 *)
    Array[# 2^(# - 1) &, 40, 0] (* Harvey P. Dale, Jul 26 2011 *)
    Join[{0}, Table[n 2^(n - 1), {n, 20}]] (* Eric W. Weisstein, Dec 01 2017 *)
    Join[{0}, LinearRecurrence[{4, -4}, {1, 4}, 20]] (* Eric W. Weisstein, Dec 01 2017 *)
    CoefficientList[Series[x/(-1 + 2 x)^2, {x, 0, 20}], x] (* Eric W. Weisstein, Dec 01 2017 *)
  • PARI
    {a(n) = if( n<0, 0, n * 2^(n-1))}
    
  • PARI
    concat(0, Vec(x/(1-2*x)^2 + O(x^50))) \\ Altug Alkan, Nov 03 2015
    
  • Python
    def A001787(n): return n*(1<Chai Wah Wu, Nov 14 2022

Formula

a(n) = Sum_{k=1..n} k*binomial(n, k). - Benoit Cloitre, Dec 06 2002
E.g.f.: x*exp(2x). - Paul Barry, Apr 10 2003
G.f.: x/(1-2*x)^2.
G.f.: x / (1 - 4*x / (1 + x / (1 - x))). - Michael Somos, Apr 07 2012
A108666(n) = Sum_{k=0..n} binomial(n, k)^2 * a(n). - Michael Somos, Apr 07 2012
PSumSIGN transform of A053220. PSumSIGN transform is A045883. Binomial transform is A027471(n+1). - Michael Somos, Jul 10 2003
Starting at a(1)=1, INVERT transform is A002450, INVERT transform of A049072, MOBIUS transform of A083413, PSUM transform is A000337, BINOMIAL transform is A081038, BINOMIAL transform of A005408. - Michael Somos, Apr 07 2012
a(n) = 2*a(n-1)+2^(n-1).
a(2*n) = n*4^n, a(2*n+1) = (2*n+1)4^n.
G.f.: x/det(I-x*M) where M=[1,i;i,1], i=sqrt(-1). - Paul Barry, Apr 27 2005
Starting 1, 1, 4, 12, ... this is 0^n + n2^(n-1), the binomial transform of the 'pair-reversed' natural numbers A004442. - Paul Barry, Jul 24 2003
Convolution of [1, 2, 4, 8, ...] with itself. - Jon Perry, Aug 07 2003
The signed version of this sequence, n(-2)^(n-1), is the inverse binomial transform of n(-1)^(n-1) (alternating sign natural numbers). - Paul Barry, Aug 20 2003
a(n-1) = (Sum_{k=0..n} 2^(n-k-1)*C(n-k, k)*C(1,(k+1)/2)*(1-(-1)^k)/2) - 0^n/4. - Paul Barry, Oct 15 2004
a(n) = Sum_{k=0..floor(n/2)} binomial(n, k)(n-2k)^2. - Paul Barry, May 13 2005
a(n+2) = A049611(n+2) - A001788(n).
a(n) = n! * Sum_{k=0..n} 1/((k - 1)!(n - k)!). - Paul Barry, Mar 26 2003
a(n+1) = Sum_{k=0..n} 4^k * A109466(n,k). - Philippe Deléham, Nov 13 2006
Row sums of A130300 starting (1, 4, 12, 32, ...). - Gary W. Adamson, May 20 2007
Equals row sums of triangle A134083. Equals A002064(n) + (2^n - 1). - Gary W. Adamson, Oct 07 2007
a(n) = 4*a(n-1) - 4*a(n-2), a(0)=0, a(1)=1. - Philippe Deléham, Nov 16 2008
Sum_{n>0} 1/a(n) = 2*log(2). - Jaume Oliver Lafont, Feb 10 2009
a(n) = A000788(A000225(n)) = A173921(A000225(n)). - Reinhard Zumkeller, Mar 04 2010
a(n) = n * A011782(n). - Omar E. Pol, Aug 28 2013
a(n-1) = Sum_{t_1+2*t_2+...+n*t_n=n} (t_1+t_2+...+t_n-1)*multinomial(t_1+t_2 +...+t_n,t_1,t_2,...,t_n). - Mircea Merca, Dec 06 2013
a(n+1) = Sum_{r=0..n} (2*r+1)*C(n,r). - J. M. Bergot, Apr 07 2014
a(n) = A007283(n)*n/6. - Enxhell Luzhnica, Apr 16 2016
a(n) = (A000225(n) + A000337(n))/2. - Anton Zakharov, Sep 17 2016
Sum_{n>0} (-1)^(n+1)/a(n) = 2*log(3/2) = 2*A016578. - Ilya Gutkovskiy, Sep 17 2016
a(n) = Sum_{k=0..n-1} Sum_{i=0..n-1} (i+1) * C(k,i). - Wesley Ivan Hurt, Sep 21 2017
a(n) = Sum_{i=1..n} Sum_{j=1..n} phi(i)*binomial(n, i*j). - Ridouane Oudra, Feb 17 2024

A068087 a(n) = n^(2*n-2).

Original entry on oeis.org

1, 4, 81, 4096, 390625, 60466176, 13841287201, 4398046511104, 1853020188851841, 1000000000000000000, 672749994932560009201, 552061438912436417593344, 542800770374370512771595361, 629983141281877223603213172736, 852226929923929274082183837890625
Offset: 1

Views

Author

Sharon Sela (sharonsela(AT)hotmail.com), May 06 2002

Keywords

Comments

Number of spanning trees in the bipartite graph K(n,n). In general the number of spanning trees in the bipartite graph K(m,n) is m^(n-1) * n^(m-1).

Crossrefs

a(n) = A000169(n)^2.

Programs

A328887 Array read by antidiagonals: T(n,m) is the number of acyclic edge sets in the complete bipartite graph K_{n,m}.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 4, 4, 1, 1, 8, 15, 8, 1, 1, 16, 54, 54, 16, 1, 1, 32, 189, 328, 189, 32, 1, 1, 64, 648, 1856, 1856, 648, 64, 1, 1, 128, 2187, 9984, 16145, 9984, 2187, 128, 1, 1, 256, 7290, 51712, 129000, 129000, 51712, 7290, 256, 1, 1, 512, 24057, 260096, 968125, 1475856, 968125, 260096, 24057, 512, 1
Offset: 0

Views

Author

Andrew Howroyd, Oct 29 2019

Keywords

Comments

In other words, the number of spanning forests of the complete bipartite graph K_{n,m} with isolated vertices allowed.

Examples

			Array begins:
====================================================================
n\m | 0   1    2      3       4         5          6           7
----+---------------------------------------------------------------
  0 | 1   1    1      1       1         1          1           1 ...
  1 | 1   2    4      8      16        32         64         128 ...
  2 | 1   4   15     54     189       648       2187        7290 ...
  3 | 1   8   54    328    1856      9984      51712      260096 ...
  4 | 1  16  189   1856   16145    129000     968125     6925000 ...
  5 | 1  32  648   9984  129000   1475856   15450912   151201728 ...
  6 | 1  64 2187  51712  968125  15450912  219682183  2862173104 ...
  7 | 1 128 7290 260096 6925000 151201728 2862173104 48658878080 ...
  ...
		

Crossrefs

Column k=2 is A006234.
Main diagonal is A297077.

Programs

  • PARI
    \\ here U is A328888 as matrix.
    U(n, m=n)={my(M=matrix(n, m), N=matrix(n, m, n, m, n^(m-1) * m^(n-1))); for(n=1, n, for(m=1, m, M[n,m] = N[n,m] + sum(i=1, n-1, sum(j=1, m-1, binomial(n-1, i-1)*binomial(m, j)*N[i,j]*M[n-i, m-j])))); M}
    T(n, m=n)={my(M=U(n, m)); matrix(n+1, m+1, n, m, 1 + sum(i=1, n-1, sum(j=1, m-1, binomial(n-1,i)*binomial(m-1,j)*M[i,j])))}
    { my(A=T(7)); for(i=1, #A, print(A[i,])) }

Formula

T(n,m) = 1 + Sum_{i=1..n} Sum_{j=1..m} binomial(n,i)*binomial(m,j)*A328888(i,j).

A329054 Array read by antidiagonals: T(n,m) is the number of unlabeled bicolored trees with n nodes of one color and m of the other.

Original entry on oeis.org

1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 2, 2, 1, 0, 0, 1, 2, 4, 2, 1, 0, 0, 1, 3, 7, 7, 3, 1, 0, 0, 1, 3, 10, 14, 10, 3, 1, 0, 0, 1, 4, 14, 28, 28, 14, 4, 1, 0, 0, 1, 4, 19, 45, 65, 45, 19, 4, 1, 0, 0, 1, 5, 24, 73, 132, 132, 73, 24, 5, 1, 0
Offset: 0

Views

Author

Andrew Howroyd, Nov 02 2019

Keywords

Comments

The two color classes are not interchangeable. Adjacent nodes cannot have the same color.
Essentially the same data as given in the irregular triangle A122085, but including complete columns for n = 0 and m = 0 to give a regular array.

Examples

			Array begins:
===================================================
n\m | 0  1  2   3    4    5     6     7      8
----+----------------------------------------------
  0 | 1, 1, 0,  0,   0,   0,    0,    0,     0, ...
  1 | 1, 1, 1,  1,   1,   1,    1,    1,     1, ...
  2 | 0, 1, 1,  2,   2,   3,    3,    4,     4, ...
  3 | 0, 1, 2,  4,   7,  10,   14,   19,    24, ...
  4 | 0, 1, 2,  7,  14,  28,   45,   73,   105, ...
  5 | 0, 1, 3, 10,  28,  65,  132,  242,   412, ...
  6 | 0, 1, 3, 14,  45, 132,  316,  693,  1349, ...
  7 | 0, 1, 4, 19,  73, 242,  693, 1742,  3927, ...
  8 | 0, 1, 4, 24, 105, 412, 1349, 3927, 10079, ...
  ...
		

Crossrefs

Main diagonal is A119857.
Antidiagonal sums are A122086.
The equivalent array for labeled nodes is A072590.

Programs

  • PARI
    EulerXY(A)={my(j=serprec(A,x)); exp(sum(i=1, j, 1/i * subst(subst(A + x * O(x^(j\i)), x, x^i), y, y^i)))}
    R(n)={my(A=O(x)); for(j=1, 2*n, A = if(j%2, 1, y)*x*EulerXY(A)); A};
    P(n)={my(r1=R(n), r2=x*EulerXY(r1), s=r1+r2-r1*r2); Vec(1 + s)}
    { my(A=P(10)); for(n=0, #A\2, for(k=0, #A\2, print1(polcoef(A[n+k+1], k), ", ")); print) }

A328888 Array read by antidiagonals: T(n,m) is the number of acyclic edge covers of the complete bipartite graph K_{n,m}.

Original entry on oeis.org

1, 1, 1, 1, 6, 1, 1, 18, 18, 1, 1, 46, 132, 46, 1, 1, 110, 696, 696, 110, 1, 1, 254, 3150, 6728, 3150, 254, 1, 1, 574, 13086, 51760, 51760, 13086, 574, 1, 1, 1278, 51492, 348048, 632970, 348048, 51492, 1278, 1, 1, 2814, 195180, 2143736, 6466980, 6466980, 2143736, 195180, 2814, 1
Offset: 1

Views

Author

Andrew Howroyd, Oct 29 2019

Keywords

Comments

In other words, the number of spanning forests of the complete bipartite graph K_{n,m} without isolated vertices.

Examples

			Array begins:
=============================================================
n\m | 1   2     3       4        5          6           7
----+--------------------------------------------------------
  1 | 1   1     1       1        1          1           1 ...
  2 | 1   6    18      46      110        254         574 ...
  3 | 1  18   132     696     3150      13086       51492 ...
  4 | 1  46   696    6728    51760     348048     2143736 ...
  5 | 1 110  3150   51760   632970    6466980    58620030 ...
  6 | 1 254 13086  348048  6466980   96208632  1231832364 ...
  7 | 1 574 51492 2143736 58620030 1231832364 21634786586 ...
...
		

Crossrefs

Column 2 is A328890.
Main diagonal is A328889.

Programs

  • PARI
    T(n, m=n)={my(M=matrix(n, m), N=matrix(n, m, n, m, n^(m-1) * m^(n-1))); for(n=1, n, for(m=1, m, M[n,m] = N[n,m] + sum(i=1, n-1, sum(j=1, m-1, binomial(n-1, i-1)*binomial(m, j)*N[i,j]*M[n-i, m-j])))); M}
    { my(A=T(7)); for(i=1, #A, print(A[i,])) }

Formula

T(n,m) = A072590(n, m) + Sum_{i=1..n-1} Sum_{j=1, m-1} binomial(n-1, i-1) * binomial(m, j) * A072590(i, j) * T(n-i, m-j).

A161552 E.g.f. satisfies: A(x,y) = exp(x*y*exp(x*A(x,y))).

Original entry on oeis.org

1, 0, 1, 0, 2, 1, 0, 3, 12, 1, 0, 4, 72, 48, 1, 0, 5, 320, 810, 160, 1, 0, 6, 1200, 8640, 6480, 480, 1, 0, 7, 4032, 70875, 143360, 42525, 1344, 1, 0, 8, 12544, 489888, 2240000, 1792000, 244944, 3584, 1, 0, 9, 36864, 3000564, 27869184, 49218750, 18579456, 1285956, 9216, 1
Offset: 0

Views

Author

Paul D. Hanna, Jun 13 2009, Jun 14 2009

Keywords

Comments

E.g.f.: A(x,y) = Sum_{n>=0} Sum_{k=0..n} T(n,k)*x^n*y^k/n!.
Row sums, (n+1)^(n-1), equal A000272 (number of trees on n labeled nodes).

Examples

			Triangle begins:
1;
0,1;
0,2,1;
0,3,12,1;
0,4,72,48,1;
0,5,320,810,160,1;
0,6,1200,8640,6480,480,1;
0,7,4032,70875,143360,42525,1344,1;
0,8,12544,489888,2240000,1792000,244944,3584,1;
0,9,36864,3000564,27869184,49218750,18579456,1285956,9216,1; ...
		

Crossrefs

Programs

  • Mathematica
    Join[{1}, Table[Binomial[n, k]*(n - k + 1)^(k - 1)*k^(n - k), {n, 1, 10}, {k, 0, n}]] // Flatten (* G. C. Greubel, Nov 18 2017 *)
  • PARI
    {T(n,k)=binomial(n,k)*(n-k+1)^(k-1)*k^(n-k)}
    
  • PARI
    {T(n,k)=local(A=1+x); for(i=0,n, A=exp(x*y*exp(x*A+O(x^n)))); n!*polcoeff(polcoeff(A,n,x),k,y)}

Formula

T(n,k) = binomial(n,k) * (n-k+1)^(k-1) * k^(n-k).
E.g.f. A(x,y) at y=1: A(x,1) = LambertW(-x)/(-x).
From Paul D. Hanna, Jun 14 2009: (Start)
More generally, if G(x) = exp(p*x*exp(q*x*G(x))),
where G(x)^m = Sum_{n>=0} g(n,m)*x^n/n!,
then g(n,m) = Sum_{k=0..n} C(n,k)*p^k*q^(n-k)*m*(n-k+m)^(k-1)*k^(n-k).
(End)

A153703 Partial sums of A069996.

Original entry on oeis.org

1, 13, 94, 526, 2551, 11299, 47020, 186988, 718429, 2686729, 9831658, 35340826, 125154355, 437641663, 1513809688, 5187129880, 17627632249, 59469045061, 199327841590, 664232428390, 2201904349231, 7264715299483, 23865295832644, 78091766836996
Offset: 1

Views

Author

Bruno Berselli, Dec 12 2010

Keywords

Comments

The first differences are in the third row of the square array of A072590.
The general formula for the partial sums of the sequence 1, 4*m, 9*m^2, 16*m^3, 25*m^4,...,n^2*m^(n-1),... is (n^2*m^(n+2)-(2*n*(n+1)-1)*m^(n+1)+(n+1)^2*m^n-m-1)/(m-1)^3 with m>1 (see also References).

References

  • "Supplemento al Periodico di Matematica", Raffaello Giusti Editore (Livorno) - Apr / May, 1913 - p. 99 (Problem 1277, case x=3).

Crossrefs

Programs

  • Magma
    [(3^n*(n^2-n+1)-1)/2: n in [1..25]]; // Vincenzo Librandi, Aug 19 2013
  • Mathematica
    CoefficientList[Series[(1 + 3 x) / ((1 - x) (1 - 3 x)^3), {x, 0, 25}], x] (* Vincenzo Librandi, Aug 19 2013 *)
  • PARI
    a(n) = (3^n*(n^2-n+1)-1)/2 \\ Michel Marcus, Jun 07 2013
    

Formula

a(n) = (3^n*(n^2 - n + 1) - 1)/2.
G.f.: x*(1+3*x)/((1-x)*(1-3*x)^3).
a(n) = 10*a(n-1) - 36*a(n-2) + 54*a(n-3) - 27a(n-4) for n>4.
a(n) = 9*A027472(n+1) + A003462(n) for n>2.
E.g.f.: (1/2)*((1 + 9*x^2)*exp(x) - exp(-x))*exp(2*x). - G. C. Greubel, Aug 24 2016

A381726 Number of minimum connected dominating sets in the n X n black bishop graph.

Original entry on oeis.org

1, 2, 1, 1, 2, 13, 83, 513, 4052, 41197, 462069, 5597201, 76094134, 1153902701, 18981358311, 336018968449, 6413439874792, 131386321421901, 2867812411156521, 66426533670738769, 1629082910078009770, 42175861619149917325, 1148999152027728530363, 32856688248674995989889
Offset: 1

Views

Author

Eric W. Weisstein, Mar 05 2025

Keywords

Crossrefs

Cf. A381727 (white bishop).

Programs

  • Mathematica
    Join[{1, 2}, Table[Sum[(2 k - 1)^(n - 2 k - 1) (n - 2 k)^(2 (k - 1)), {k, Floor[(n - 1)/2]}], {n, 3, 20}]] (* Eric W. Weisstein, Mar 22 2025 *)
  • PARI
    \\ B(n,k) is A072590.
    B(n,k) = n^(k-1) * k^(n-1)
    a(n) = if(n <= 2, n, sum(k=1, (n-1)\2, B(n-2*k, 2*k-1))) \\ Andrew Howroyd, Mar 20 2025

Formula

a(n) = Sum_{k=1..floor((n-1)/2)} A072590(n-2*k, 2*k-1) for n >= 3. - Andrew Howroyd, Mar 20 2025

Extensions

a(10) onwards from Andrew Howroyd, Mar 20 2025

A381727 Number of minimum connected dominating sets in the n X n white bishop graph.

Original entry on oeis.org

2, 4, 1, 4, 13, 64, 513, 4480, 41197, 444416, 5597201, 77253632, 1153902701, 18870222848, 336018968449, 6428081455104, 131386321421901, 2865273888571392, 66426533670738769, 1629643279560867840, 42175861619149917325, 1148845693539400548352, 32856688248674995989889
Offset: 2

Views

Author

Eric W. Weisstein, Mar 05 2025

Keywords

Crossrefs

Cf. A381726 (black bishop).

Programs

  • Mathematica
    Join[{2, 4}, Table[Sum[(2 k)^(n - 2 k - 2) (n - 2 k - 1)^(2 k - 1), {k, Floor[n/2] - 1}], {n, 4, 20}]] (* Eric W. Weisstein, Mar 22 2025 *)
  • PARI
    \\ B(n, k) is A072590.
    B(n,k) = n^(k-1) * k^(n-1)
    a(n) = if(n <= 3, 2*n-2, sum(k=1, n\2-1, B(n-1-2*k, 2*k))) \\ Andrew Howroyd, Mar 20 2025

Formula

a(n) = Sum_{k=1..floor(n\2)-1} A072590(n-1-2*k, 2*k) for n >= 4. - Andrew Howroyd, Mar 20 2025

Extensions

a(10) onwards from Andrew Howroyd, Mar 20 2025
Showing 1-10 of 11 results. Next