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

A038846 4-fold convolution of A000302 (powers of 4); expansion of g.f. 1/(1-4*x)^4.

Original entry on oeis.org

1, 16, 160, 1280, 8960, 57344, 344064, 1966080, 10813440, 57671680, 299892736, 1526726656, 7633633280, 37580963840, 182536110080, 876173328384, 4161823309824, 19585050869760, 91396904058880, 423311976693760, 1947235092791296, 8901646138474496, 40462027902156800
Offset: 0

Views

Author

Keywords

Comments

Also minimal 3-covers of a labeled n-set that cover 3 points of that set uniquely (if offset is 3). Cf. A057524 for unlabeled case. - Vladeta Jovovic, Sep 02 2000
Also convolution of A020918 with A000984 (central binomial coefficients).
Let M=[1,0,0,i;0,1,i,0;0,i,1,0;i,0,0,1], i=sqrt(-1). Then 1/det(I-xM) = 1/(1-4x)^4. - Paul Barry, Apr 27 2005
With a different offset, number of n-permutations (n=4) of 5 objects u, v, w, z, x with repetition allowed, containing exactly three u's. Example: a(1)=16 because we have uuuv, uuvu, uvuu, vuuu, uuuw, uuwu, uwuu, wuuu, uuuz, uuzu, uzuu, zuuu, uuux, uuxu, uxuu and xuuu. - Zerinvary Lajos, May 19 2008
From A152818. a(n) = A006044/6. - Paul Curtz, Jan 07 2009
Also convolution of A000302 with A038845, also convolution of A002457 with A002802, also convolution of A002697. - Rui Duarte, Oct 08 2011

Crossrefs

Programs

  • GAP
    List([0..30], n-> 4^n*Binomial(n+3,3) ) # G. C. Greubel, Jul 20 2019
  • Magma
    [4^n*Binomial(n+3, 3): n in [0..30]]; // Vincenzo Librandi, Oct 15 2011
    
  • Maple
    seq(seq(binomial(i, j)*4^(i-3), j =i-3), i=3..33); # Zerinvary Lajos, Dec 03 2007
    seq(binomial(n+3,3)*4^n,n=0..30); # Zerinvary Lajos, May 19 2008
  • Mathematica
    Table[4^n*Binomial[n+3,3], {n,0,30}] (* G. C. Greubel, Jul 20 2019 *)
  • PARI
    Vec(1/(1-4*x)^4+O(x^30)) \\ Charles R Greathouse IV, Oct 03 2016
    
  • Sage
    [lucas_number2(n, 4, 0)*binomial(n,3)/2^6 for n in range(3, 33)] # Zerinvary Lajos, Mar 11 2009
    

Formula

a(n) = binomial(n+3, 3)*4^n.
G.f.: 1/(1-4*x)^4.
a(n) = Sum_{a+b+c+d+e+f+g+h=n} f(a)*f(b)*f(c)*f(d)*f(e)*f(f)*f(g)*f(h) with f(n)=A000984(n). - Philippe Deléham, Jan 22 2004
From Amiram Eldar, Jan 05 2022: (Start)
Sum_{n>=0} 1/a(n) = 108*log(4/3) - 30.
Sum_{n>=0} (-1)^n/a(n) = 300*log(5/4) - 66. (End)
E.g.f.: exp(4*x)*(3 + 36*x + 72*x^2 + 32*x^3)/3. - Stefano Spezia, Jan 01 2023

A152818 Array read by antidiagonals: A(n,k) = (k+1)^n*(n+k)!/n!.

Original entry on oeis.org

1, 1, 1, 1, 4, 2, 1, 12, 18, 6, 1, 32, 108, 96, 24, 1, 80, 540, 960, 600, 120, 1, 192, 2430, 7680, 9000, 4320, 720, 1, 448, 10206, 53760, 105000, 90720, 35280, 5040, 1, 1024, 40824, 344064, 1050000, 1451520, 987840, 322560, 40320
Offset: 0

Views

Author

Paul Curtz, Dec 13 2008

Keywords

Comments

A009998/A119502 gives triangle of unreduced coefficients of polynomials defined by A152650/A152656. a(n) gives numerators with denominators n! for each row.
Row 0 is A000142. Row 1 is formed from positive members of A001563. Row 2 is A055533. Column 0 is A000012. Column 1 is formed from positive members of A001787. Column 2 is A006043. Column 3 is A006044. - Omar E. Pol, Jan 06 2009

Examples

			From _Omar E. Pol_, Jan 06 2009: (Start)
Array begins:
  1,    1,      2,        6,         24,          120, ...
  1,    4,     18,       96,        600,         4320, ...
  1,   12,    108,      960,       9000,        90720, ...
  1,   32,    540,     7680,     105000,      1451520, ...
  1,   80,   2430,    53760,    1050000,     19595520, ...
  1,  192,  10206,   344064,    9450000,    235146240, ...
  1,  448,  40824,  2064384,   78750000,   2586608640, ...
  1, 1024, 157464, 11796480,  618750000,  26605117440, ...
  1, 2304, 590490, 64880640, 4640625000, 259399895040, ... (End)
Antidiagonal triangle:
  1;
  1,   1;
  1,   4,     2;
  1,  12,    18,     6;
  1,  32,   108,    96,     24;
  1,  80,   540,   960,    600,   120;
  1, 192,  2430,  7680,   9000,  4320,   720;
  1, 448, 10206, 53760, 105000, 90720, 35280, 5040;
		

Crossrefs

Programs

  • Magma
    A152818:= func< n,k | (k+1)^(n-k)*Factorial(k)*Binomial(n,k) >;
    [A152818(n,k): k in [0..n], n in [0..12]]; // G. C. Greubel, Apr 10 2023
  • Mathematica
    len= 45; m= 1 + Ceiling[Sqrt[len]]; Sort[Flatten[#, 1] &[MapIndexed[ {(2 +#2[[1]]^2 +(#2[[2]] -1)*#2[[2]] +#2[[1]]*(2*#2[[2]] -3))/ 2, #1}&, Table[(k+1)^n*(n+k)!/n!, {n,0,m}, {k,0,m}], {2}]]][[All, 2]][[1 ;; len]] (* From Jean-François Alcover, May 27 2011 *)
    T[n_, k_]:= (k+1)^(n-k)*k!*Binomial[n, k];
    Table[T[n,k], {n,0,15}, {k,0,n}]//Flatten (* G. C. Greubel, Apr 10 2023 *)
  • PARI
    A(n,k) = (k+1)^n*(n+k)!/n! \\ Charles R Greathouse IV, Sep 10 2016
    
  • Sage
    def A152818_row(n):
        R. = ZZ[]
        P = add((n-k+1)^k*x^(n-k+1)*factorial(n)/factorial(k) for k in (0..n))
        return P.coefficients()
    for n in (0..12): print(A152818_row(n))  # Peter Luschny, May 03 2013
    

Formula

E.g.f. for array as a triangle: exp(x)/(1-t*x*exp(x)) = 1+(1+t)*x+(1+4*t+2*t^2)*x^2/2! + (1+12*t+18*t^2+6*t^3)*x^3/3! + .... E.g.f. is int {z = 0..inf} exp(-z)*F(x,t*z), (x and t chosen sufficiently small for the integral to converge), where F(x,t) = exp(x*(1+t*exp(x))) is the e.g.f. for A154372. - Peter Bala, Oct 09 2011
From Peter Bala, Oct 09 2011: (Start)
From the e.g.f., the row polynomials R(n,t) satisfy the recursion R(n,t) = 1 + t*sum {k = 0..n-1} n!/(k!*(n-k-1)!)*R(n-k-1,t). The polynomials 1/n!*R(n,x) are the polynomials P(n,x) of A152650.
Sum_{k=0..n} T(n, k) = A072597(n) (antidiagonal sums). (End)
From G. C. Greubel, Apr 10 2023: (Start)
T(n, k) = (k+1)^(n-k) * k! * binomial(n, k) (antidiagonal triangle).
Sum_{k=0..n} (-1)^k*T(n, k) = A089148(n). (End)

Extensions

Better definition, extended and edited by Omar E. Pol and N. J. A. Sloane, Jan 05 2009

A006043 A traffic light problem: expansion of 2/(1 - 3*x)^3.

Original entry on oeis.org

2, 18, 108, 540, 2430, 10206, 40824, 157464, 590490, 2165130, 7794468, 27634932, 96722262, 334807830, 1147912560, 3902902704, 13172296626, 44165935746, 147219785820, 488149816140, 1610894393262, 5292938720718, 17322344904168, 56485907296200, 183579198712650, 594796603828986
Offset: 0

Views

Author

Keywords

Comments

Column 2 of square array A152818. - Omar E. Pol, Jan 05 2009
In [Bach et al., Section 9], 2*a(n-2) counts the "small diagrams". - Eric M. Schmidt, Sep 23 2017

References

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

Crossrefs

Programs

Formula

a(n) = (n+2)*(n+1)*3^n. - Zerinvary Lajos, Apr 25 2007, corrected by R. J. Mathar, Mar 14 2011
a(n) = 2*A027472(n+3) = A116138(n+1)/3. - R. J. Mathar, Mar 14 2011
a(n) = 2*A000217(n+1)*A000244(n). - Zak Seidov, Mar 14 2011
E.g.f.: exp(3*x)*(2 + 12*x + 9*x^2). - Stefano Spezia, Jan 01 2023
From Amiram Eldar, Jan 08 2023: (Start)
Sum_{n>=0} 1/a(n) = 3 - 6*log(3/2).
Sum_{n>=0} (-1)^n/a(n) = 12*log(4/3) - 3. (End)

A154372 Triangle T(n,k) = (k+1)^(n-k)*binomial(n,k).

Original entry on oeis.org

1, 1, 1, 1, 4, 1, 1, 12, 9, 1, 1, 32, 54, 16, 1, 1, 80, 270, 160, 25, 1, 1, 192, 1215, 1280, 375, 36, 1, 1, 448, 5103, 8960, 4375, 756, 49, 1, 1, 1024, 20412, 57344, 43750, 12096, 1372, 64, 1
Offset: 0

Views

Author

Paul Curtz, Jan 08 2009

Keywords

Comments

From A152650/A152656,coefficients of other exponential polynomials(*). a(n) is triangle A152818 where terms of each column is divided by the beginning one. See A000004, A001787(n+1), A006043=2*A027472, A006044=6*A038846.
(*) Not factorial as written in A006044. See A000110, Bell-Touchard. Second diagonal is 1,4,9,16,25, denominators of Lyman's spectrum of hydrogen, A000290(n+1) which has homogeneous indices for denominators series of Rydberg-Ritz spectrum of hydrogen.
The matrix inverse starts
1;
-1, 1;
3, -4, 1;
-16, 24, -9, 1;
125, -200, 90, -16, 1;
-1296, 2160, -1080, 240, -25, 1;
16807, -28812, 15435, -3920, 525, -36, 1;
.. compare with A122525 (row reversed). - R. J. Mathar, Mar 22 2013
From Peter Bala, Jan 14 2015: (Start)
Exponential Riordan array [exp(z), z*exp(z)]. This triangle is the particular case a = 0, b = 1, c = 1 of the triangle of generalized Stirling numbers of the second kind S(a,b,c) defined in the Bala link. Cf. A059297.
This is the triangle of connection constants when expressing the monomials x^n as a linear combination of the basis polynomials (x - 1)*(x - k - 1)^(k-1), k = 0,1,2,.... For example, from row 3 we have x^3 = 1 + 12*(x - 1) + 9*(x - 1)*(x - 3) + (x - 1)*(x - 4)^2.
Let M be the infinite lower unit triangular array with (n,k)-th entry (k*(n - k + 1) + 1)/(k + 1)*binomial(n,k). M is the row reverse of A145033. For k = 0,1,2,... define M(k) to be the lower unit triangular block array
/I_k 0\
\ 0 M/ having the k X k identity matrix I_k as the upper left block; in particular, M(0) = M. The infinite product M(0)*M(1)*M(2)*..., which is clearly well-defined, is equal to the present triangle. See the Example section. (End)
T(n,k) is also the number of idempotent partial transformations of {1,2,...,n} having exactly k fixed points. - Geoffrey Critzer, Nov 25 2021

Examples

			With the array M(k) as defined in the Comments section, the infinite product M(0)*M(1)*M(2)*... begins
/1      \ /1        \ /1        \      /1        \
|1 1     ||0 1       ||0 1      |      |1  1      |
|1 3 1   ||0 1 1     ||0 0 1    |... = |1  4  1   |
|1 6 5 1 ||0 1 3 1   ||0 0 1 1  |      |1 12  9  1|
|...     ||0 1 6 5 1 ||0 0 1 3 1|      |...       |
|...     ||...       ||...      |      |          |
- _Peter Bala_, Jan 13 2015
		

Crossrefs

Programs

  • Magma
    /* As triangle */ [[(k+1)^(n-k)*Binomial(n,k) : k in [0..n]]: n in [0.. 15]]; // Vincenzo Librandi, Sep 15 2016
  • Mathematica
    T[n_, k_] := (k + 1)^(n - k)*Binomial[n, k]; Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* G. C. Greubel, Sep 15 2016 *)

Formula

T(n,k) = (k+1)^(n-k)*binomial(n,k). k!*T(n,k) gives the entries for A152818 read as a triangular array.
E.g.f.: exp(x*(1+t*exp(x))) = 1 + (1+t)*x + (1+4*t+t^2)*x^2/2! + (1+12*t+9*t^2+t*3)*x^3/3! + .... O.g.f.: Sum_{k>=1} (t*x)^(k-1)/(1-k*x)^k = 1 + (1+t)*x + (1+4*t+t^2)*x^2 + .... Row sums are A080108. - Peter Bala, Oct 09 2011
From Peter Bala, Jan 14 2015: (Start)
Recurrence equation: T(n+1,k+1) = T(n,k+1) + Sum_{j = 0..n-k} (j + 1)*binomial(n,j)*T(n-j,k) with T(n,0) = 1 for all n.
Equals the matrix product A007318 * A059297. (End)

A154128 a(n) = 5^n*(n+4)!/n!.

Original entry on oeis.org

24, 600, 9000, 105000, 1050000, 9450000, 78750000, 618750000, 4640625000, 33515625000, 234609375000, 1599609375000, 10664062500000, 69726562500000, 448242187500000, 2838867187500000, 17742919921875000, 109588623046875000
Offset: 0

Views

Author

Omar E. Pol, Jan 05 2009

Keywords

Comments

Column 4 of square array A152818.

Crossrefs

Programs

  • Magma
    [5^n*(n+4)*(n+3)*(n+2)*(n+1): n in [0..20]]; // Vincenzo Librandi, Aug 15 2011
  • Mathematica
    LinearRecurrence[{25, -250, 1250, -3125, 3125}, {24, 600, 9000, 105000, 1050000}, 25] (* or *) Table[5^n*(n+4)*(n+3)*(n+2)*(n+1), {n,0,25}] (* G. C. Greubel, Sep 02 2016 *)

Formula

a(n) = 5^n*(n+4)*(n+3)*(n+2)*(n+1).
From R. J. Mathar, Feb 06 2009: (Start)
a(n) = A052762(n+4)*A000351(n).
a(n) = 24*A036071(n).
G.f: 24/(1-5*x)^5. (End)
From G. C. Greubel, Sep 02 2016: (Start)
a(n) = 25*a(n-1) - 250*a(n-2) + 1250*a(n-3) - 3125*a(n-4) + 3125*a(n-5).
E.g.f.: (24 + 480*x + 1800*x^2 + 2000*x^3 + 625*x^4)*exp(5*x). (End)

Extensions

More terms from R. J. Mathar, Feb 06 2009
Showing 1-5 of 5 results.