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.

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

A075503 Stirling2 triangle with scaled diagonals (powers of 8).

Original entry on oeis.org

1, 8, 1, 64, 24, 1, 512, 448, 48, 1, 4096, 7680, 1600, 80, 1, 32768, 126976, 46080, 4160, 120, 1, 262144, 2064384, 1232896, 179200, 8960, 168, 1, 2097152, 33292288, 31653888, 6967296, 537600, 17024, 224, 1
Offset: 1

Views

Author

Wolfdieter Lang, Oct 02 2002

Keywords

Comments

This is a lower triangular infinite matrix of the Jabotinsky type. See the Knuth reference given in A039692 for exponential convolution arrays.
The row polynomials p(n,x) := Sum_{m=1..n} a(n,m)x^m, n >= 1, have e.g.f. J(x; z)= exp((exp(8*z) - 1)*x/8) - 1.

Examples

			[1]; [8,1]; [64,24,1]; ...; p(3,x) = x(64 + 24*x + x^2).
From _Andrew Howroyd_, Mar 25 2017: (Start)
Triangle starts
*       1
*       8        1
*      64       24        1
*     512      448       48       1
*    4096     7680     1600      80      1
*   32768   126976    46080    4160    120     1
*  262144  2064384  1232896  179200   8960   168   1
* 2097152 33292288 31653888 6967296 537600 17024 224 1
(End)
		

Crossrefs

Columns 1-7 are A001018, A060195, A076003-A076007. Row sums are A075507.

Programs

  • Mathematica
    Flatten[Table[8^(n - m) StirlingS2[n, m], {n, 11}, {m, n}]] (* Indranil Ghosh, Mar 25 2017 *)
  • PARI
    for(n=1, 11, for(m=1, n, print1(8^(n - m) * stirling(n, m, 2),", ");); print();) \\ Indranil Ghosh, Mar 25 2017

Formula

a(n, m) = (8^(n-m)) * stirling2(n, m).
a(n, m) = (Sum_{p=0..m-1} A075513(m, p)*((p+1)*8)^(n-m))/(m-1)! for n >= m >= 1, else 0.
a(n, m) = 8m*a(n-1, m) + a(n-1, m-1), n >= m >= 1, else 0, with a(n, 0) := 0 and a(1, 1)=1.
G.f. for m-th column: (x^m)/Product_{k=1..m}(1-8k*x), m >= 1.
E.g.f. for m-th column: (((exp(8x)-1)/8)^m)/m!, m >= 1.

A075509 Shifts one place left under 10th-order binomial transform.

Original entry on oeis.org

1, 1, 11, 131, 1761, 27601, 506651, 10674211, 251686881, 6524202561, 183991725451, 5605930566051, 183428104316161, 6409252239788881, 237948848526923611, 9346097294356706051, 386966245108218203201, 16836505067572362863361, 767645305770283165781131
Offset: 0

Views

Author

Wolfdieter Lang, Oct 02 2002

Keywords

Comments

Previous name was: a(n) are row sums of triangle A075505 (for n>=1).

Crossrefs

Shifts one place left under k-th order binomial transform, k=1..10: A000110, A004211, A004212, A004213, A005011, A005012, A075506, A075507, A075508, A075509.

Programs

Formula

a(n) = Sum_{m=0..n} 10^(n-m)*S2(n,m) with S2(n,m) = A048993(n,m) (Stirling2).
E.g.f.: exp((exp(10*x)-1)/10).
O.g.f.: Sum_{k>=0} x^k/Product_{j=1..k} (1 - 10*j*x). - Ilya Gutkovskiy, Mar 21 2018
a(n) ~ 10^n * n^n * exp(n/LambertW(10*n) - 1/10 - n) / (sqrt(1 + LambertW(10*n)) * LambertW(10*n)^n). - Vaclav Kotesovec, Jul 15 2021

Extensions

a(0)=1 inserted and new name by Vladimir Reshetnikov, Oct 20 2015

A075506 Shifts one place left under 7th-order binomial transform.

Original entry on oeis.org

1, 1, 8, 71, 729, 8842, 125399, 2026249, 36458010, 719866701, 15453821461, 358100141148, 8899677678109, 235877034446341, 6634976621814472, 197269776623577659, 6177654735731310917, 203136983117907790890, 6994626418539177737803, 251584328242318030774781
Offset: 0

Views

Author

Wolfdieter Lang, Oct 02 2002

Keywords

Comments

Previous name was: Row sums of triangle A075502 (for n>=1).

Crossrefs

Shifts one place left under k-th order binomial transform, k=1..10: A000110, A004211, A004212, A004213, A005011, A005012, A075506, A075507, A075508, A075509.

Programs

  • GAP
    List([0..20],n->Sum([0..n],m->7^(n-m)*Stirling2(n,m))); # Muniru A Asiru, Mar 20 2018
  • Maple
    [seq(factorial(k)*coeftayl(exp((exp(7*x)-1)/7), x = 0, k), k=0..20)]; # Muniru A Asiru, Mar 20 2018
  • Mathematica
    Table[7^n BellB[n, 1/7], {n, 0, 20}]

Formula

a(n) = sum((7^(n-m))*S2(n,m), m=0..n), with S2(n,m) = A008277(n,m) (Stirling2).
E.g.f.: exp((exp(7*x)-1)/7).
O.g.f.: Sum_{k>=0} x^k/Product_{j=1..k} (1 - 7*j*x). - Ilya Gutkovskiy, Mar 20 2018
a(n) ~ 7^n * n^n * exp(n/LambertW(7*n) - 1/7 - n) / (sqrt(1 + LambertW(7*n)) * LambertW(7*n)^n). - Vaclav Kotesovec, Jul 15 2021

Extensions

a(0)=1 inserted and new name by Vladimir Reshetnikov, Oct 20 2015

A075508 Shifts one place left under 9th-order binomial transform.

Original entry on oeis.org

1, 1, 10, 109, 1351, 19612, 333451, 6493069, 141264820, 3376695763, 87799365343, 2465959810690, 74353064138749, 2393123710957813, 81812390963020066, 2958191064076428793, 112727516544416978299, 4513118224822056822772, 189305466502867876489519
Offset: 0

Views

Author

Wolfdieter Lang, Oct 02 2002

Keywords

Comments

Previous name was: Row sums of triangle A075504 (for n>=1).

Crossrefs

Shifts one place left under k-th order binomial transform, k=1..10: A000110, A004211, A004212, A004213, A005011, A005012, A075506, A075507, A075508, A075509.

Programs

  • GAP
    List([0..20],n->Sum([0..n],m->9^(n-m)*Stirling2(n,m))); # Muniru A Asiru, Mar 20 2018
  • Maple
    [seq(factorial(k)*coeftayl(exp((exp(9*x)-1)/9), x = 0, k), k=0..20)]; # Muniru A Asiru, Mar 20 2018
  • Mathematica
    Table[9^n BellB[n, 1/9], {n, 0, 20}] (* Vladimir Reshetnikov, Oct 20 2015 *)

Formula

a(n) = Sum_{m=0..n} 9^(n-m)*S2(n,m), with S2(n,m) = A008277(n,m) (Stirling2).
E.g.f.: exp((exp(9*x)-1)/9).
O.g.f.: Sum_{k>=0} x^k/Product_{j=1..k} (1 - 9*j*x). - Ilya Gutkovskiy, Mar 20 2018
a(n) ~ 9^n * n^n * exp(n/LambertW(9*n) - 1/9 - n) / (sqrt(1 + LambertW(9*n)) * LambertW(9*n)^n). - Vaclav Kotesovec, Jul 15 2021

Extensions

a(0)=1 inserted and new name by Vladimir Reshetnikov, Oct 20 2015

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

Original entry on oeis.org

1, 1, 3, 19, 201, 3176, 69823, 2026249, 74565473, 3376695763, 183991725451, 11854772145800, 890415496931689, 77023751991841669, 7592990698770559111, 845240026276785888451, 105409073489605774592897, 14625467507717709778793020, 2244123413703647502288608467, 378751257186051653931253015229
Offset: 0

Views

Author

Ilya Gutkovskiy, Mar 20 2018

Keywords

Crossrefs

Programs

  • GAP
    List([0..20],n->Sum([0..n],k->n^(n-k)*Stirling2(n,k))); # Muniru A Asiru, Mar 20 2018
    
  • 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[(Exp[n x] - 1)/n], {x, 0, n}], {n, 19}]]
    Join[{1}, Table[Sum[n^(n - k) StirlingS2[n, k], {k, 0, n}], {n, 19}]]
    (* Or: *)
    A301419[n_] := If[n == 0, 1, n^n BellB[n, 1/n]];
    Table[A301419[n], {n, 0, 19}] (* Peter Luschny, Dec 22 2021 *)
  • PARI
    a(n) = sum(k=0, n, n^(n-k)*stirling(n, k, 2)); \\ Michel Marcus, Mar 23 2018

Formula

a(n) = n! * [x^n] exp((exp(n*x) - 1)/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, Dec 22 2021
a(n) ~ exp(n/LambertW(n^2) - n) * n^(2*n) / (sqrt(1 + LambertW(n^2)) * LambertW(n^2)^n). - Vaclav Kotesovec, Jun 06 2022
Showing 1-6 of 6 results.