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

A004211 Shifts one place left under 2nd-order binomial transform.

Original entry on oeis.org

1, 1, 3, 11, 49, 257, 1539, 10299, 75905, 609441, 5284451, 49134923, 487026929, 5120905441, 56878092067, 664920021819, 8155340557697, 104652541401025, 1401572711758403, 19546873773314571, 283314887789276721, 4259997696504874817, 66341623494636864963
Offset: 0

Views

Author

Keywords

Comments

Equals the eigensequence of A038207, the square of Pascal's triangle. - Gary W. Adamson, Apr 10 2009
The g.f. of the second binomial transform is 1/(1-2x-x/(1-2x/(1-2x-x/(1-4x/(1-2x-x/(1-6x/(1-2x-x/(1-8x/(1-... (continued fraction). - Paul Barry, Dec 04 2009
Length-n restricted growth strings (RGS) [s(0),s(1),...,s(n-1)] where s(k)<=F(k)+2 where F(0)=0 and F(k+1)=s(k+1) if s(k+1)-s(k)=2, otherwise F(k+1)=F(k); see example and Fxtbook link. - Joerg Arndt, Apr 30 2011
It appears that the infinite set of "Shifts 1 place left under N-th order binomial transform" sequences has a production matrix of:
1, N, 0, 0, 0, ...
1, 1, N, 0, 0, ...
1, 2, 1, N, 0, ...
1, 3, 3, 1, N, ...
... (where a diagonal of (N,N,N,...) is appended to the right of Pascal's triangle). a(n) in each sequence is the upper left term of M^n such that N=1 generates A000110, then (N=2 - A004211), (N=3 - A004212), (N=4 - A004213), (N=5 - A005011), ... - Gary W. Adamson, Jul 29 2011
Number of "unlabeled" hierarchical orderings on set partitions of {1..n}, see comments on A034691. - Gus Wiseman, Mar 03 2016
From Lorenzo Sauras Altuzarra, Jun 17 2022: (Start)
Number of n-variate noncontradictory conjunctions of logical equalities of literals (modulo logical equivalence).
Equivalently, number of n-variate noncontradictory Krom formulas with palindromic truth-vector (modulo logical equivalence).
a(n) <= A109457(n). (End)

Examples

			From _Joerg Arndt_, Apr 30 2011: (Start)
Restricted growth strings: a(0)=1 corresponds to the empty string;
a(1)=1 to [0]; a(2)=3 to [00], [01], and [02]; a(3) = 11 to
        RGS           F
[ 1]  [ 0 0 0 ]    [ 0 0 0 ]
[ 2]  [ 0 0 1 ]    [ 0 0 0 ]
[ 3]  [ 0 0 2 ]    [ 0 0 2 ]
[ 4]  [ 0 1 0 ]    [ 0 0 0 ]
[ 5]  [ 0 1 1 ]    [ 0 0 0 ]
[ 6]  [ 0 1 2 ]    [ 0 0 2 ]
[ 7]  [ 0 2 0 ]    [ 0 2 2 ]
[ 8]  [ 0 2 1 ]    [ 0 2 2 ]
[ 9]  [ 0 2 2 ]    [ 0 2 2 ]
[10]  [ 0 2 3 ]    [ 0 2 2 ]
[11]  [ 0 2 4 ]    [ 0 2 4 ]. (End)
From _Lorenzo Sauras Altuzarra_, Jun 17 2022: (Start)
The 11 trivariate noncontradictory conjunctions of logical equalities of literals are (x <-> y) /\ (y <-> z), (~ x <-> y) /\ (y <-> z), (x <-> ~ y) /\ (~ y <-> z), (x <-> y) /\ (y <-> ~ z), (x <-> y) /\ (z <-> z), (~ x <-> y) /\ (z <-> z), (x <-> z) /\ (y <-> y), (~ x <-> z) /\ (y <-> y), (y <-> z) /\ (x <-> x), (~ y <-> z) /\ (x <-> x), and (x <-> x) /\ (y <-> y) /\ (z <-> z) (modulo logical equivalence).
The third complete Bell polynomial is x^3 + 3 x y + z; and note that (2^0)^3 + 3*2^0*2^1 + 2^2 = 11.
The truth-vector of (x <-> y) /\ (y <-> z), 10000001, is palindromic. (End)
		

References

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

Crossrefs

Cf. A075497 (row sums).
Cf. A038207.
Cf. A000110 (RGS where s(k) <= F(k) + 1), A004212 (RGS where s(k) <= F(k) + 3), A004213 (s(k) <= F(k) + 4), A005011 (s(k) <= F(k) + 5), A005012 (s(k) <= F(k) + 6), A075506 (s(k) <= F(k) + 7), A075507 (s(k) <= F(k) + 8), A075508 (s(k) <= F(k) + 9), A075509 (s(k) <= F(k) + 10).
Main diagonal of A261275.

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=0, 1, add(
          a(n-j)*binomial(n-1, j-1)*2^(j-1), j=1..n))
        end:
    seq(a(n), n=0..23);  # Alois P. Heinz, May 30 2021
    # second Maple program:
    a:= n -> CompleteBellB(n, seq(2^k, k=0..n)):
    seq(a(n), n=0..23);  # Lorenzo Sauras Altuzarra, Jun 17 2022
  • Mathematica
    Table[ Sum[ StirlingS2[ n, k ] 2^(-k+n), {k, n} ], {n, 16} ] (* Wouter Meeussen *)
    Table[2^n BellB[n, 1/2], {n, 0, 20}] (* Vladimir Reshetnikov, Oct 20 2015 *)
  • Maxima
    a(n):=if n=0 then 1 else sum(2^(n-k)*binomial(n-1,k-1)*a(k-1),k,1,n); /* Vladimir Kruchinin, Nov 28 2011 */
    
  • PARI
    x='x+O('x^66);
    egf=exp(intformal(exp(2*x))); /* = 1 + x + 3/2*x^2 + 11/6*x^3 + ... */
    /* egf=exp(1/2*(exp(2*x)-1)) */ /* alternative e.g.f. */
    Vec(serlaplace(egf))  /* Joerg Arndt, Apr 30 2011 */
    
  • SageMath
    def A004211(n): return sum(2^(n-k)*stirling_number2(n, k) for k in (0..n))
    print([A004211(n) for n in range(21)]) # Peter Luschny, Apr 15 2020

Formula

E.g.f. A(x) satisfies A'(x)/A(x) = e^(2x).
E.g.f.: exp(sinh(x)*exp(x)) = exp(Integral_{t = 0..x} exp(2*t)) = exp((exp(2*x)-1)/2). - Joerg Arndt, Apr 30 2011 and May 13 2011
a(n) = Sum_{k=0..n} 2^(n-k)*Stirling2(n, k). - Emeric Deutsch, Feb 11 2002
G.f.: Sum_{k >= 0} x^k/Product_{j = 1..k} (1-2*j*x). - Ralf Stephan, Apr 18 2004
Stirling transform of A000085. - Vladeta Jovovic May 14 2004
O.g.f.: A(x) = 1/(1-x-2*x^2/(1-3*x-4*x^2/(1-5*x-6*x^2/(1-... -(2*n-1)*x-2*n*x^2/(1- ...))))) (continued fraction). - Paul D. Hanna, Jan 17 2006
Define f_1(x), f_2(x), ... such that f_1(x)=e^x, f_{n+1}(x) = (d/dx)(x*f_n(x)), for n=2,3,.... Then a(n) = e^(-1/2)*2^{n-1}*f_n(1/2). - Milan Janjic, May 30 2008
G.f.: 1/(1-x/(1-2x/(1-x/(1-4x/(1-x/(1-6x/(1-x/(1-8x/(1-... (continued fraction). - Paul Barry, Dec 04 2009
a(n) = upper left term in M^n, M = an infinite square production matrix with an appended diagonal of (2,2,2,...) to the right of Pascal's triangle:
1, 2, 0, 0, 0, ...
1, 1, 2, 0, 0, ...
1, 2, 1, 2, 0, ...
1, 3, 3, 1, 2, ...
... - Gary W. Adamson, Jul 29 2011
a(n) = D^n(exp(x)) evaluated at x = 0, where D is the operator (1+2*x)*d/dx. Cf. A000110. - Peter Bala, Nov 25 2011
G.f. A(x) satisfies A(x)=1+x/(1-2*x)*A(x/(1-2*x)), a(n) = Sum_{k=1..n} binomial(n-1,k-1)*2^(n-k)*a(k-1), a(0)=1. - Vladimir Kruchinin, Nov 28 2011 [corrected by Ilya Gutkovskiy, May 02 2019]
From Peter Bala, May 16 2012: (Start)
Recurrence equation: a(n+1) = Sum_{k = 0..n} 2^(n-k)*C(n,k)*a(k).
Written umbrally this is a(n+1) = (a + 2)^n (expand the binomial and replace a^k with a(k)). More generally, a*f(a) = f(a+2) holds umbrally for any polynomial f(x). An inductive argument then establishes the umbral recurrence a*(a-2)*(a-4)*...*(a-2*(n-1)) = 1 with a(0) = 1. Compare with the Bell numbers B(n) = A000110(n), which satisfy the umbral recurrence B*(B-1)*...*(B-(n-1)) = 1 with B(0) = 1. Cf. A009235.
Touchard's congruence holds: for odd prime p, a(p+k) == (a(k) + a(k+1)) (mod p) for k = 0,1,2,... (adapt the proof of Theorem 10.1 in Gessel). In particular, a(p) == 2 (mod p) for odd prime p. (End)
G.f.: (2/E(0) - 1)/x where E(k) = 1 + 1/(1 + 2*x/(1 - 4*(k+1)*x/E(k+1))); (continued fraction, 3-step). - Sergei N. Gladkovskii, Sep 20 2012
G.f.: (1/E(0)-1)/x where E(k) = 1 - x/(1 + 2*x - 2*x*(k+1)/E(k+1)); (continued fraction, 2-step). - Sergei N. Gladkovskii, Sep 21 2012
a(n) = -1 + 2*Sum_{k=0..n} C(n,k)*A166922(k). - Peter Luschny, Nov 01 2012
G.f.: G(0)- 1/x where G(k) = 1 - (4*x*k-1)/(x - x^4/(x^3 - (4*x*k-1)*(4*x*k+2*x-1)*(4*x*k+4*x-1)/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 08 2013.
G.f.: (G(0) - 1)/(x-1) where G(k) = 1 - 1/(1-2*k*x)/(1-x/(x-1/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 15 2013
G.f.: -G(0) where G(k) = 1 + 2*(1-k*x)/(2*k*x - 1 - x*(2*k*x - 1)/(x - 2*(1-k*x)/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 29 2013
G.f.: 1/Q(0), where Q(k) = 1 - x/(1 - 2*x*(2*k+1)/( 1 - x/(1 - 4*x*(k+1)/Q(k+1) ))); (continued fraction). - Sergei N. Gladkovskii, Apr 15 2013
G.f.: 1 + x/Q(0), where Q(k)= 1 - x*(2*k+3) - x^2*(2*k+2)/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, May 05 2013
For n > 0, a(n) = exp(-1/2)*Sum_{k > 0} (2*k)^n/(k!*2^k). - Vladimir Reshetnikov, May 09 2013
G.f.: -(1+(2*x+1)/G(0))/x, where G(k)= 2*x*k - x - 1 - 2*(k+1)*x^2/G(k+1); (continued fraction). - Sergei N. Gladkovskii, Jul 20 2013
G.f.: T(0)/(1-x), where T(k) = 1 - 2*x^2*(k+1)/( 2*x^2*(k+1) - (1-x-2*x*k)*(1-3*x-2*x*k)/T(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Oct 19 2013
Sum_{k=0..n} C(n,k)*a(k)*a(n-k) = 2^n*Bell(n) = A055882(n). - Vaclav Kotesovec, Apr 03 2016
a(n) ~ 2^n * n^n * exp(n/LambertW(2*n) - n - 1/2) / (sqrt(1 + LambertW(2*n)) * LambertW(2*n)^n). - Vaclav Kotesovec, Jan 07 2019, simplified Oct 01 2022
a(n) = B_n(2^0, ..., 2^(n - 1)), where B_n(x_1, ..., x_n) is the n-th complete Bell polynomial. - Lorenzo Sauras Altuzarra, Jun 17 2022

A004212 Shifts one place left under 3rd-order binomial transform.

Original entry on oeis.org

1, 1, 4, 19, 109, 742, 5815, 51193, 498118, 5296321, 60987817, 754940848, 9983845261, 140329768789, 2087182244308, 32725315072135, 539118388883449, 9304591246975030, 167804098493079547, 3155000165773280893
Offset: 0

Views

Author

Keywords

Comments

Equals the eigensequence of triangle A027465, the cube of Pascal's triangle. - Gary W. Adamson, Apr 10 2009
Length-n restricted growth strings (RGS) [s(0),s(1),...,s(n-1)] where s(k)<=F(k)+3 where F(0)=0 and F(k+1)=s(k+1) if s(k+1)-s(k)=3, otherwise F(k+1)=F(k); see example and Fxtbook link. - Joerg Arndt, Apr 30 2011

Examples

			Restricted growth strings: a(0)=1 corresponds to the empty string, a(1)=1 to [0],
a(2)=3 to [00], [01], [02], and [03], a(3) = 19 to
        RGS           F
01:  [ 0 0 0 ]    [ 0 0 0 ]
02:  [ 0 0 1 ]    [ 0 0 0 ]
03:  [ 0 0 2 ]    [ 0 0 0 ]
04:  [ 0 0 3 ]    [ 0 0 3 ]
05:  [ 0 1 0 ]    [ 0 0 0 ]
06:  [ 0 1 1 ]    [ 0 0 0 ]
07:  [ 0 1 2 ]    [ 0 0 0 ]
08:  [ 0 1 3 ]    [ 0 0 3 ]
09:  [ 0 2 0 ]    [ 0 0 0 ]
10:  [ 0 2 1 ]    [ 0 0 0 ]
11:  [ 0 2 2 ]    [ 0 0 0 ]
12:  [ 0 2 3 ]    [ 0 0 3 ]
13:  [ 0 3 0 ]    [ 0 3 3 ]
14:  [ 0 3 1 ]    [ 0 3 3 ]
15:  [ 0 3 2 ]    [ 0 3 3 ]
16:  [ 0 3 3 ]    [ 0 3 3 ]
17:  [ 0 3 4 ]    [ 0 3 3 ]
18:  [ 0 3 5 ]    [ 0 3 3 ]
19:  [ 0 3 6 ]    [ 0 3 6 ]
- _Joerg Arndt_, Apr 30 2011
		

References

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

Crossrefs

Cf. A075498 (row sums).
Cf. A027465. - Gary W. Adamson, Apr 10 2009
Cf. A004211 (RGS where s(k)<=F(k)+2), A004213 (s(k)<=F(k)+4), A005011 (s(k)<=F(k)+5), A000110 (s(k)<=F(k)+1). - Joerg Arndt, Apr 30 2011
Cf. A009235.

Programs

  • Mathematica
    Table[Sum[StirlingS2[n,k] 3^(-k+n),{k,n}],{n,20}] (* Vincenzo Librandi, May 21 2012 *)
    Table[3^n BellB[n, 1/3], {n, 0, 20}] (* Vladimir Reshetnikov, Oct 20 2015 *)
  • Maxima
    a(n):=if n=0 then 1 else sum(3^(n-k)*binomial(n-1,k-1)*a(k-1),k,1,n); /* Vladimir Kruchinin, Nov 28 2011 */
  • PARI
    x='x+O('x^66); /* that many terms */
    egf=exp(intformal(exp(3*x))); /* =  1 + x + 2*x^2 + 19/6*x^3 + 109/24*x^4 + ... */
    /* egf=exp(1/3*(exp(3*x)-1)) */ /* alternative computation */
    Vec(serlaplace(egf)) /* show terms */ /* Joerg Arndt, Apr 30 2011 */
    

Formula

a_n = Sum_{k=0..n} 3^(n-k)*Stirling2(n, k). - Emeric Deutsch, Feb 11 2002
E.g.f.: exp((exp(3*x)-1)/3).
O.g.f. A(x) satisfies A'(x)/A(x) = e^(3*x).
E.g.f.: exp(Integral_{t = 0..x} exp(3*t)). - Joerg Arndt, Apr 30 2011
O.g.f.: Sum_{k>=0} x^k/Product_{j=1..k} (1-3*j*x). - Joerg Arndt, Apr 30 2011
Hankel transform is A000178(n)*3^C(n+1,2). - Paul Barry, Mar 31 2008
Define f_1(x), f_2(x), ... such that f_1(x)=e^x, f_{n+1}(x) = (d/dx)(x*f_n(x)), for n=2,3,.... Then a(n) = e^(-1/2)*3^{n-1}*f_n(1/3). - Milan Janjic, May 30 2008
a(n) = the upper left term in M^n, M = the following infinite square production matrix:
1, 3, 0, 0, 0, ...
1, 1, 3, 0, 0, ...
1, 2, 1, 3, 0, ...
1, 3, 3, 1, 3, ...
... (in which a diagonal of (3,3,3,...) is appended to the right of Pascal's triangle). - Gary W. Adamson, Jul 29 2011
G.f. satisfies A(x) = 1+x/(1-3*x)*A(x/(1-3*x)). a(n) = Sum_{k=1..n} 3^(n-k)*binomial(n-1,k-1)*a(k-1), n > 0, a(0)=1. - Vladimir Kruchinin, Nov 28 2011 [corrected by Ilya Gutkovskiy, May 02 2019]
From Peter Bala, May 16 2012: (Start)
Recurrence equation: a(n+1) = Sum_{k = 0..n} 3^(n-k)*C(n,k)*a(k). Written umbrally this is a(n+1) = (a + 3)^n (expand the binomial and replace a^k with a(k)). More generally, a*f(a) = f(a+3) holds umbrally for any polynomial f(x). An inductive argument then establishes the umbral recurrence a*(a-3)*(a-6)*...*(a-3*(n-1)) = 1 with a(0) = 1. Compare with the Bell numbers B(n) = A000110(n), which satisfy the umbral recurrence B*(B-1)*...*(B-(n-1)) = 1 with B(0) = 1.
Touchard's congruence holds: for prime p not equal to 3, a(p+k) == (a(k) + a(k+1)) (mod p) for k = 0,1,2,... (adapt the proof of Theorem 10.1 in Gessel). In particular, a(p) == 2 (mod p) for prime p <> 3. (End)
G.f.: (G(0) - 1)/(x-1) where G(k) = 1 - 1/(1-x*3*k)/(1-x/(x-1/G(k+1) )); (recursively defined continued fraction). - Sergei N. Gladkovskii, Jan 16 2013
G.f.: T(0)/(1-x), where T(k) = 1 - 3*x^2*(k+1)/( 3*x^2*(k+1) - (1-x-3*x*k)*(1-4*x-3*x*k)/T(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Oct 19 2013
a(n) ~ 3^n * n^n * exp(n/LambertW(3*n) - 1/3 - n) / (sqrt(1 + LambertW(3*n)) * LambertW(3*n)^n). - Vaclav Kotesovec, Jul 15 2021
a(n) = exp(-1/3)*Sum_{n >= 0} (3*n)^k/(n!*3^n). - Peter Bala, Jun 29 2024

A080893 Expansion of e.g.f. exp(x*C(x)) = exp((1-sqrt(1-4*x))/2), where C(x) is the g.f. of the Catalan numbers A000108.

Original entry on oeis.org

1, 1, 3, 19, 193, 2721, 49171, 1084483, 28245729, 848456353, 28875761731, 1098127402131, 46150226651233, 2124008553358849, 106246577894593683, 5739439214861417731, 332993721039856822081, 20651350143685984386753
Offset: 0

Views

Author

Emanuele Munarini, Mar 31 2003

Keywords

Comments

Essentially the same as A001517: a(n+1) = A001517(n).
For k >= 2, the difference a(n+k) - a(n) is divisible by k. It follows that for each k, the sequence formed by taking a(n) modulo k is periodic with period dividing k. For example, modulo 10 the sequence becomes [1, 1, 3, 9, 3, 1, 1, 3, 9, 3, ...], a purely periodic sequence of period 5. Cf. A047974. - Peter Bala, Feb 11 2025

Crossrefs

Programs

  • Mathematica
    y[x_] := y[x] = 2(2x - 3)y[x - 1] + y[x - 2]; y[0] = 1; y[1] = 1; Table[y[n],{n,0,17}]
    With[{nn=20},CoefficientList[Series[Exp[(1-Sqrt[1-4x])/2],{x,0,nn}], x] Range[0,nn]!] (* Harvey P. Dale, Oct 30 2011 *)
  • PARI
    {a(n) = if( n<1, n = 1 - n); n! * polcoeff( exp( (1 - sqrt(1 - 4*x + x * O(x^n))) / 2), n)} /* Michael Somos, Apr 07 2012 */
    
  • Sage
    A080893 = lambda n: hypergeometric([-n+1, n], [], -1)
    [simplify(A080893(n)) for n in (0..19)] # Peter Luschny, Oct 17 2014

Formula

E.g.f.: exp((1-sqrt(1-4*x))/2).
D-finite with recurrence: a(n+2) = 2*(2*n + 1)*a(n+1) + a(n).
Recurrence: y(n+1) = Sum_{k = 0..n} binomial(n, k)*binomial(2k, k)*k!*y(n-k).
a(1 - n) = a(n). a(n + 1) = A001517(n). - Michael Somos, Apr 07 2012
G.f.: 1 + x/Q(0), where Q(k)= 1 - x - 2*x*(k+1)/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, May 17 2013
a(n) ~ 2^(2*n-3/2)*n^(n-1)/exp(n-1/2). - Vaclav Kotesovec, Jun 26 2013
a(n) = hypergeom([-n+1, n], [], -1). - Peter Luschny, Oct 17 2014
a(n) = Sum_{k=0..n} (-4)^(n-k) * Stirling1(n,k) * A009235(k) = (-4)^n * Sum_{k=0..n} (1/2)^k * Stirling1(n,k) * Bell_k(-1/2), where Bell_n(x) is n-th Bell polynomial. - Seiichi Manyama, Aug 02 2024

A317996 Expansion of e.g.f. exp((1 - exp(-3*x))/3).

Original entry on oeis.org

1, 1, -2, 1, 19, -128, 379, 1549, -32600, 261631, -845909, -10713602, 237695149, -2513395259, 11792378662, 151915180429, -4826456213273, 70741388773960, -558513179369297, -2833805536521839, 200720356696607416, -4256279445015662093, 54120395442382043743, -173423789950999240226
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 20 2018

Keywords

Crossrefs

Programs

  • Maple
    a:=series(exp((1 - exp(-3*x))/3), x=0, 24): seq(n!*coeff(a, x, n), n=0..23); # Paolo P. Lava, Mar 26 2019
  • Mathematica
    nmax = 23; CoefficientList[Series[Exp[(1 - Exp[-3 x])/3], {x, 0, nmax}], x] Range[0, nmax]!
    Table[Sum[(-3)^(n - k) StirlingS2[n, k], {k, 0, n}], {n, 0, 23}]
    a[n_] := a[n] = Sum[(-3)^(k - 1) Binomial[n - 1, k - 1] a[n - k], {k, 1, n}]; a[0] = 1; Table[a[n], {n, 0, 23}]
    Table[(-3)^n BellB[n, -1/3], {n, 0, 23}] (* Peter Luschny, Aug 20 2018 *)

Formula

a(n) = Sum_{k=0..n} (-3)^(n-k)*Stirling2(n,k).
a(0) = 1; a(n) = Sum_{k=1..n} (-3)^(k-1)*binomial(n-1,k-1)*a(n-k).
a(n) = (-3)^n BellPolynomial_n(-1/3). - Peter Luschny, Aug 20 2018

A318179 Expansion of e.g.f. exp((1 - exp(-4*x))/4).

Original entry on oeis.org

1, 1, -3, 5, 25, -343, 2133, -3603, -112975, 1938897, -18008275, 55198805, 1753746377, -45801271943, 649021707397, -4682002329795, -50792700319903, 2692784088681889, -59182401177647011, 801759226622986917, -2169423359710146183, -263145142263538606519, 9869607872225170545333
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 20 2018

Keywords

Crossrefs

Programs

  • Maple
    seq(n!*coeff(series(exp((1-exp(-4*x))/4),x=0,23),x,n),n=0..22); # Paolo P. Lava, Jan 09 2019
  • Mathematica
    nmax = 22; CoefficientList[Series[Exp[(1 - Exp[-4 x])/4], {x, 0, nmax}], x] Range[0, nmax]!
    Table[Sum[(-4)^(n - k) StirlingS2[n, k], {k, 0, n}], {n, 0, 22}]
    a[n_] := a[n] = Sum[(-4)^(k - 1) Binomial[n - 1, k - 1] a[n - k], {k, 1, n}]; a[0] = 1; Table[a[n], {n, 0, 22}]
    Table[(-4)^n BellB[n, -1/4], {n, 0, 22}] (* Peter Luschny, Aug 20 2018 *)

Formula

a(n) = Sum_{k=0..n} (-4)^(n-k)*Stirling2(n,k).
a(0) = 1; a(n) = Sum_{k=1..n} (-4)^(k-1)*binomial(n-1,k-1)*a(n-k).
a(n) = (-4)^n*BellPolynomial_n(-1/4). - Peter Luschny, Aug 20 2018

A318181 Expansion of e.g.f. exp((1 - exp(-6*x))/6).

Original entry on oeis.org

1, 1, -5, 19, 1, -1103, 15211, -123821, 120865, 19464193, -474727877, 7017193075, -50549088671, -931708750607, 49742453940331, -1276858353426317, 21239149342811329, -100057086073774463, -9091588769200298501, 454849803186974314579, -13529950476868715792063, 262961916344710204693681
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 20 2018

Keywords

Crossrefs

Programs

  • Maple
    seq(n!*coeff(series(exp((1-exp(-6*x))/6),x=0,22),x,n),n=0..21); # Paolo P. Lava, Jan 09 2019
  • Mathematica
    nmax = 21; CoefficientList[Series[Exp[(1 - Exp[-6 x])/6], {x, 0, nmax}], x] Range[0, nmax]!
    Table[Sum[(-6)^(n - k) StirlingS2[n, k], {k, 0, n}], {n, 0, 21}]
    a[n_] := a[n] = Sum[(-6)^(k - 1) Binomial[n - 1, k - 1] a[n - k], {k, 1, n}]; a[0] = 1; Table[a[n], {n, 0, 21}]
    Table[(-6)^n BellB[n, -1/6], {n, 0, 21}] (* Peter Luschny, Aug 20 2018 *)

Formula

a(n) = Sum_{k=0..n} (-6)^(n-k)*Stirling2(n,k).
a(0) = 1; a(n) = Sum_{k=1..n} (-6)^(k-1)*binomial(n-1,k-1)*a(n-k).
a(n) = (-6)^n*BellPolynomial_n(-1/6). - Peter Luschny, Aug 20 2018

A318180 Expansion of e.g.f. exp((1 - exp(-5*x))/5).

Original entry on oeis.org

1, 1, -4, 11, 21, -674, 6551, -33479, -174114, 7478121, -117699599, 1090997976, 865365421, -302755297739, 7922094623596, -127940743443649, 974028543402401, 21377262410290446, -1179125036786673989, 31760741865879345821, -552216474702144564074, 2814873629049018241701
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 20 2018

Keywords

Crossrefs

Programs

  • Maple
    seq((-5)^n*BellB(n,-1/5),n=0..30); # Robert Israel, Nov 11 2020
  • Mathematica
    nmax = 21; CoefficientList[Series[Exp[(1 - Exp[-5 x])/5], {x, 0, nmax}], x] Range[0, nmax]!
    Table[Sum[(-5)^(n - k) StirlingS2[n, k], {k, 0, n}], {n, 0, 21}]
    a[n_] := a[n] = Sum[(-5)^(k - 1) Binomial[n - 1, k - 1] a[n - k], {k, 1, n}]; a[0] = 1; Table[a[n], {n, 0, 21}]
    Table[(-5)^n BellB[n, -1/5], {n, 0, 21}] (* Peter Luschny, Aug 20 2018 *)
  • PARI
    my(x = 'x + O('x^25)); Vec(serlaplace(exp((1 - exp(-5*x))/5))) \\ Michel Marcus, Nov 11 2020

Formula

a(n) = Sum_{k=0..n} (-5)^(n-k)*Stirling2(n,k).
a(0) = 1; a(n) = Sum_{k=1..n} (-5)^(k-1)*binomial(n-1,k-1)*a(n-k).
a(n) = (-5)^n*BellPolynomial_n(-1/5). - Peter Luschny, Aug 20 2018

A318183 a(n) = [x^n] Sum_{k>=0} x^k/Product_{j=1..k} (1 + n*j*x).

Original entry on oeis.org

1, 1, -1, 1, 25, -674, 15211, -331827, 5987745, 15901597, -13125035449, 1292056076070, -103145930581319, 7462324963409941, -464957409070517453, 16313974895147212801, 2059903411953959582849, -708700955022151333496910, 143215213612865558214820303, -24681846509158429152517973103
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 20 2018

Keywords

Crossrefs

Programs

  • Mathematica
    Table[SeriesCoefficient[Sum[x^k/Product[(1 + n j x), {j, 1, k}], {k, 0, n}], {x, 0, n}], {n, 0, 19}]
    Join[{1}, Table[n! SeriesCoefficient[Exp[(1 - Exp[-n x])/n], {x, 0, n}], {n, 19}]]
    Join[{1}, Table[Sum[(-n)^(n - k) StirlingS2[n, k], {k, n}], {n, 19}]]
    Join[{1}, Table[(-n)^n BellB[n, -1/n], {n, 1, 21}]] (* Peter Luschny, Aug 20 2018 *)
  • PARI
    {a(n) = sum(k=0, n, (-n)^(n-k)*stirling(n, k, 2))} \\ Seiichi Manyama, Jul 27 2019

Formula

a(n) = n! * [x^n] exp((1 - exp(-n*x))/n), for n > 0.
a(n) = Sum_{k=0..n} (-n)^(n-k)*Stirling2(n,k).
a(n) = (-n)^n*BellPolynomial_n(-1/n) for n >= 1. - Peter Luschny, Aug 20 2018

A309386 Square array A(n,k), n>=0, k>=0, read by antidiagonals, where A(n,k) = Sum_{j=0..n} (-k)^(n-j)*Stirling2(n,j).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, -1, -1, 1, 1, 1, -2, -1, 1, 1, 1, 1, -3, 1, 9, 2, 1, 1, 1, -4, 5, 19, -23, -9, 1, 1, 1, -5, 11, 25, -128, -25, 9, 1, 1, 1, -6, 19, 21, -343, 379, 583, 50, 1, 1, 1, -7, 29, 1, -674, 2133, 1549, -3087, -267, 1
Offset: 0

Views

Author

Seiichi Manyama, Jul 27 2019

Keywords

Examples

			Square array begins:
   1,  1,   1,    1,    1,    1,     1, ...
   1,  1,   1,    1,    1,    1,     1, ...
   1,  0,  -1,   -2,   -3,   -4,    -5, ...
   1, -1,  -1,    1,    5,   11,    19, ...
   1,  1,   9,   19,   25,   21,     1, ...
   1,  2, -23, -128, -343, -674, -1103, ...
   1, -9, -25,  379, 2133, 6551, 15211, ...
		

Crossrefs

Columns k=0..6 give A000012, (-1)^n * A000587(n), A009235, A317996, A318179, A318180, A318181.
Rows n=0+1, 2 give A000012, A024000.
Main diagonal gives A318183.

Programs

  • Mathematica
    T[n_, k_] := Sum[If[k == n-j == 0, 1, (-k)^(n-j)] * StirlingS2[n, j], {j, 0, n}]; Table[T[k, n - k], {n, 0, 10}, {k, 0, n}] // Flatten (* Amiram Eldar, May 07 2021 *)

Formula

E.g.f. of column k: exp((1 - exp(-k*x))/k) for k > 0.
A(0,k) = 1 and A(n,k) = Sum_{j=0..n-1} (-k)^(n-1-j) * binomial(n-1,j) * A(j,k) for n > 0.

A350262 Triangle read by rows. T(n, k) = B(n, n - k + 1) where B(n, k) = k^n * BellPolynomial(n, -1/k) for k > 0, if k = 0 then B(n, k) = k^n.

Original entry on oeis.org

1, -1, -1, -2, -1, 0, -5, -1, 1, 1, 21, 25, 19, 9, 1, 1103, 674, 343, 128, 23, -2, 29835, 15211, 6551, 2133, 379, -25, -9, 739751, 331827, 123821, 33479, 3603, -1549, -583, -9, 16084810, 5987745, 1619108, 120865, -174114, -112975, -32600, -3087, 50
Offset: 0

Views

Author

Peter Luschny, Dec 22 2021

Keywords

Examples

			[0]        1
[1]       -1,      -1
[2]       -2,      -1,       0
[3]       -5,      -1,       1,      1
[4]       21,      25,      19,      9,       1
[5]     1103,     674,     343,    128,      23,      -2
[6]    29835,   15211,    6551,   2133,     379,     -25,     -9
[7]   739751,  331827,  123821,  33479,    3603,   -1549,   -583,    -9
[8] 16084810, 5987745, 1619108, 120865, -174114, -112975, -32600, -3087, 50
		

Crossrefs

Programs

  • Maple
    B := (n, k) -> ifelse(k = 0, k^n, k^n * BellB(n, -1/k)):
    A350262 := (n, k) -> B(n, n - k + 1):
    seq(seq(A350262(n, k), k = 0..n), n = 0..8);
  • Mathematica
    B[n_, k_] := If[k == 0, k^n, k^n BellB[n, -1/k]]; T[n_, k_] := B[n, n - k + 1];
    Table[T[n, k], {n, 0, 8}, {k, 0, n}] // Flatten
Showing 1-10 of 16 results. Next