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

A220181 E.g.f.: Sum_{n>=0} (1 - exp(-n*x))^n.

Original entry on oeis.org

1, 1, 7, 115, 3451, 164731, 11467387, 1096832395, 138027417451, 22111390122811, 4393756903239067, 1060590528331645675, 305686632592587314251, 103695663062502304228891, 40895823706632785802087547, 18554695374154504939196298955, 9596336362873294022956267703851
Offset: 0

Views

Author

Paul D. Hanna, Dec 06 2012

Keywords

Comments

Compare to the trivial identity: exp(x) = Sum_{n>=0} (1 - exp(-x))^n.
Compare to the e.g.f. of A092552: Sum_{n>=1} (1 - exp(-n*x))^n/n.
From Arvind Ayyer, Oct 25 2020: (Start)
a(n) is also the number of acyclic orientations with unique sink of the complete bipartite graph K_{n,n+1}
a(n) is also the number of toppleable permutations in S_{2n}. A toppleable permutation pi in S_{2n} satisfies pi_i <= n-1+i for 1 <= i <= n+1 and pi_i >= i-n for n+2 <= i <= 2n. (End)
Conjecture: Let p be prime. The sequence obtained by reducing a(n) modulo p for n >= 1 is purely periodic with period p - 1. For example, modulo 7 the sequence becomes [1, 0, 3, 0, 0, 1, 1, 0, 3, 0, 0, 1, 1, 0, 3, 0, 0, 1 ...], with an apparent period of 6. Cf. A122399. - Peter Bala, Jun 01 2022

Examples

			O.g.f.: F(x) = 1 + x + 7*x^2 + 115*x^3 + 3451*x^4 + 164731*x^5 +...
where F(x) = 1 + x/(1+x) + 2^2*2!*x^2/((1+2*1*x)*(1+2*2*x)) + 3^3*3!*x^3/((1+3*1*x)*(1+3*2*x)*(1+3*3*x)) + 4^4*4!*x^4/((1+4*1*x)*(1+4*2*x)*(1+4*3*x)*(1+4*4*x)) +...
...
E.g.f.: A(x) = 1 + x + 7*x^2/2! + 115*x^3/3! + 3451*x^4/4! + 164731*x^5/5! +...
where the e.g.f. satisfies the identities:
(1) A(x) = 1 + (1-exp(-x)) + (1-exp(-2*x))^2 + (1-exp(-3*x))^3 + (1-exp(-4*x))^4 + (1-exp(-5*x))^5 + (1-exp(-6*x))^6 +...
(2) A(x) = exp(-x) + exp(-2*x)*(1-exp(-2*x)) + exp(-3*x)*(1-exp(-3*x))^2 + exp(-4*x)*(1-exp(-4*x))^3 + exp(-5*x)*(1-exp(-5*x))^4 + exp(-6*x)*(1-exp(-6*x))^5 +...
(3) 2*A(x) = 2 + (1-exp(-2*x)) + (1-exp(-3*x))^2 + (1-exp(-4*x))^3 + (1-exp(-5*x))^4 + (1-exp(-6*x))^5 + (1-exp(-7*x))^6 +...
E.g.f. at offset=1 begins:
B(x) = x + x^2/2! + 7*x^3/3! + 115*x^4/4! + 3451*x^5/5! + 164731*x^6/6! +...
where
B(x) = (1-exp(-x)) + (1-exp(-2*x))^2/2^2 + (1-exp(-3*x))^3/3^2 + (1-exp(-4*x))^4/4^2 + (1-exp(-5*x))^5/5^2 + (1-exp(-6*x))^6/6^2 +...
The series  B(x) = Sum_{n>=1} (1 - exp(-n*x))^n / n^2  may be rewritten as:
B(x) = Pi^2/6 + log(1-exp(-x)) + Sum_{n>=2} (n-1)*exp(-2*n*x)/(2*n) -
Sum_{n>=3} C(n-1,2)*exp(-3*n*x)/(3*n) + Sum_{n>=4} C(n-1,3)*exp(-4*n*x)/(4*n) -+...
		

Crossrefs

Programs

  • Mathematica
    Flatten[{1,Table[Sum[(-1)^(n-k)*k^n*k!*StirlingS2[n,k],{k,0,n}],{n,1,20}]}] (* Vaclav Kotesovec, Jun 21 2013 *)
  • PARI
    {a(n)=polcoeff(sum(m=0,n,m^m*m!*x^m/prod(k=1,m,1+m*k*x+x*O(x^n))),n)}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {a(n)=n!*polcoeff(sum(k=0, n, (1-exp(-k*x+x*O(x^n)))^k), n)}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    /* Formula for this sequence with offset=1: */
    {a(n)=n!*polcoeff(sum(k=1, n, (1-exp(-k*x+x*O(x^n)))^k/k^2), n)}
    for(n=1, 21, print1(a(n), ", "))
    
  • PARI
    {Stirling2(n, k)=n!*polcoeff(((exp(x+x*O(x^n))-1)^k)/k!, n)}
    {a(n) = sum(k=0,n,(-1)^(n-k)*k^n*k!*Stirling2(n, k))}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {Stirling2(n, k)=n!*polcoeff(((exp(x+x*O(x^n))-1)^k)/k!, n)}
    {a(n) = if(n==0,1,sum(k=1,n+1,((k-1)!)^2*Stirling2(n+1,k)^2/2))}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {a(n)=sum(k=0,n, k^n*sum(j=0,k, (-1)^(n+k-j)*binomial(k,j)*(k-j)^n))}
    for(n=0, 20, print1(a(n), ", "))

Formula

O.g.f. Sum_{n>=0} n^n * n! * x^n / Product_{k=1..n} (1 + n*k*x).
E.g.f. A(x) = Sum_{n>=0} (1 - exp(-n*x))^n satisfies the identities:
(1) A(x) = Sum_{n>=1} exp(-n*x) * (1 - exp(-n*x))^(n-1).
(2) A(x) = 1 + (1/2) * Sum_{n>=1} (1 - exp(-n*x))^(n-1).
(3) A(x) = Sum_{n>=1} Sum_{k>=0} (-1)^k * C(n+k-1,k) * exp(-k*(n+k-1)*x).
E.g.f. at offset 1, B(x) = Sum_{n>=1} a(n-1)*x^n/n!, satisfies:
(1) B(x) = Sum_{n>=1} (1 - exp(-n*x))^n / n^2.
(2) B(x) = Pi^2/6 + log(1-exp(-x)) + Sum_{k>=2} Sum_{n>=k} (-1)^k * C(n-1,k-1) * exp(-k*n*x)/(k*n), a convergent series for x>0.
a(n) = Sum_{k=0..n} (-1)^(n-k) * k^n * k! * Stirling2(n,k).
a(n) = Sum_{k=1..n+1} ((k-1)!)^2 * Stirling2(n+1,k)^2 / 2 for n>0 with a(0)=1.
a(n) = Sum_{k=0..n} k^n * Sum_{j=0..k} (-1)^(n+k-j) * binomial(k,j) * (k-j)^n.
a(n) = A048163(n+1)/2 for n>0.
Limit n->infinity (a(n)/n!)^(1/n)/n = 1/(exp(1)*(log(2))^2) = 0.7656928576... - Vaclav Kotesovec, Jun 21 2013
a(n) ~ sqrt(Pi) * n^(2*n+1/2) / (sqrt(1-log(2)) * exp(2*n) * (log(2))^(2*n+1)). - Vaclav Kotesovec, May 13 2014

A320083 Expansion of e.g.f. Sum_{k>=0} log(1 + k*x)^k.

Original entry on oeis.org

1, 1, 7, 116, 3574, 177094, 12873962, 1290494904, 170592253320, 28753159552272, 6018433850602848, 1531605185388897552, 465706857941949607008, 166746568516127626614288, 69440517484503283491716400, 33278913978673363553703249408, 18185279212166784139689388753536, 11239676837467731657648932618952576
Offset: 0

Views

Author

Ilya Gutkovskiy, Oct 05 2018

Keywords

Crossrefs

Programs

  • Maple
    1,seq(n!*coeff(series(add( log(1 + k*x)^k,k=1..100), x=0, 18), x, n), n=1..17); # Paolo P. Lava, Jan 09 2019
  • Mathematica
    nmax = 17; CoefficientList[Series[1 + Sum[Log[1 + k x]^k, {k, 1, nmax}], {x, 0, nmax}], x] Range[0, nmax]!
    Join[{1}, Table[Sum[StirlingS1[n, k] k! k^n, {k, n}], {n, 17}]]

Formula

a(n) = Sum_{k=0..n} Stirling1(n,k)*k!*k^n.
a(n) ~ c * d^n * n^(2*n + 1/2), where d = 0.298212940253960977992575968955431001807757948758929... and c = 3.40415549717199390989204785905061856492539214306... - Vaclav Kotesovec, Oct 05 2018

A351136 a(n) = Sum_{k=0..n} (-1)^(n-k) * k! * k^(2*n) * Stirling1(n,k).

Original entry on oeis.org

1, 1, 33, 4760, 1814698, 1436035954, 2041681617638, 4736066140912728, 16729538152432476024, 85437808930634601070944, 605822464949212598847700512, 5774077466357788471179323050704, 72030066703292325305595937373723040
Offset: 0

Views

Author

Seiichi Manyama, Feb 02 2022

Keywords

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] := Sum[(-1)^(n - k) * k! * k^(2*n) * StirlingS1[n, k], {k, 1, n}]; Array[a, 13, 0] (* Amiram Eldar, Feb 02 2022 *)
  • PARI
    a(n) = sum(k=0, n, (-1)^(n-k)*k!*k^(2*n)*stirling(n, k, 1));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec(serlaplace(sum(k=0, N, (-log(1-k^2*x))^k)))

Formula

E.g.f.: Sum_{k>=0} (-log(1 - k^2*x))^k.
a(n) ~ c * r^(2*n) * (1 + r*exp(2/r))^n * n^(3*n + 1/2) / exp(3*n), where r = 0.9414380538633895499299457441124149470954491698433... is the real root of the equation LambertW(-1, -r*exp(-r)) = -r - exp(-2/r) and c = 2.22047212763474863127102273073825610210704559048894... - Vaclav Kotesovec, Feb 03 2022

A351137 a(n) = Sum_{k=0..n} (-1)^(n-k) * k! * k^(3*n) * Stirling1(n,k).

Original entry on oeis.org

1, 1, 129, 121172, 421875178, 3922823960054, 80130334773241142, 3156849112458066440568, 218554371053209725986724984, 24795129220015277612148345850896, 4365539219231132131300647267518575008, 1141930521329052244894253748456776246166288
Offset: 0

Views

Author

Seiichi Manyama, Feb 02 2022

Keywords

Comments

In general, for m >= 0, Sum_{k=0..n} (-1)^(n-k) * k! * k^(m*n) * Stirling1(n,k) ~ c * r^(m*n) * (1 + r*exp(m/r))^n * n^((m+1)*n + 1/2) / exp((m+1)*n), where r is the real root of the equation LambertW(-1, -r*exp(-r)) = -r - exp(-m/r) and c is a constant (depending only on m). - Vaclav Kotesovec, Feb 04 2022

Crossrefs

Cf. A007840 (m=0), A320096 (m=1), A351136 (m=2).

Programs

  • Mathematica
    a[0] = 1; a[n_] := Sum[(-1)^(n - k) * k! * k^(3*n) * StirlingS1[n, k], {k, 1, n}]; Array[a, 12, 0] (* Amiram Eldar, Feb 02 2022 *)
  • PARI
    a(n) = sum(k=0, n, (-1)^(n-k)*k!*k^(3*n)*stirling(n, k, 1));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec(serlaplace(sum(k=0, N, (-log(1-k^3*x))^k)))

Formula

E.g.f.: Sum_{k>=0} (-log(1 - k^3*x))^k.
a(n) ~ c * r^(3*n) * (1 + r*exp(3/r))^n * n^(4*n + 1/2) / exp(4*n), where r = 0.97698437755148201976772582981871258235824532360125531194... is the real root of the equation LambertW(-1, -r*exp(-r)) = -r - exp(-3/r) and c = 2.3655154360078103511101518906595610482889989819... - Vaclav Kotesovec, Feb 04 2022

A351138 a(n) = Sum_{k=0..n} (-1)^(n-k) * k! * k^(k*n) * Stirling1(n,k).

Original entry on oeis.org

1, 1, 33, 118484, 103098352618, 35763050751038414134, 7426387531294394110580641088438, 1294894837982331434068068403253026516109577144, 253092742000650212462862632240661689524832716838851180353875064
Offset: 0

Views

Author

Seiichi Manyama, Feb 02 2022

Keywords

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[n_] := Sum[(-1)^(n - k) * k! * k^(k*n) * StirlingS1[n, k], {k, 1, n}]; Array[a, 9, 0] (* Amiram Eldar, Feb 02 2022 *)
  • PARI
    a(n) = sum(k=0, n, (-1)^(n-k)*k!*k^(k*n)*stirling(n, k, 1));
    
  • PARI
    my(N=10, x='x+O('x^N)); Vec(serlaplace(sum(k=0, N, (-log(1-k^k*x))^k)))

Formula

E.g.f.: Sum_{k>=0} (-log(1 - k^k*x))^k.
a(n) ~ n! * n^(n^2). - Vaclav Kotesovec, Feb 03 2022

A373855 a(n) = Sum_{k=1..n} k! * k^(n-1) * |Stirling1(n,k)|.

Original entry on oeis.org

0, 1, 5, 80, 2690, 155074, 13658386, 1706098008, 286888266696, 62485391828448, 17112247116585744, 5755236604915060944, 2331975856351260982848, 1120439648590390138640304, 629855675998212293917375344, 409557081242059531918330384896
Offset: 0

Views

Author

Seiichi Manyama, Jun 19 2024

Keywords

Crossrefs

Programs

  • Mathematica
    nmax=15; Range[0,nmax]!CoefficientList[Series[Sum[(-Log[1 - k*x])^k / k,{k,nmax}],{x,0,nmax}],x] (* Stefano Spezia, Jun 19 2024 *)
  • PARI
    a(n) = sum(k=1, n, k!*k^(n-1)*abs(stirling(n, k, 1)));

Formula

E.g.f.: Sum_{k>=1} (-log(1 - k*x))^k / k.

A373870 a(n) = Sum_{k=1..n} k! * k^(n-3) * |Stirling1(n,k)|.

Original entry on oeis.org

0, 1, 2, 14, 254, 9154, 552034, 50183832, 6417140232, 1098719459424, 242758470248976, 67260880064331216, 22840933997866565184, 9330599517868641290160, 4514326567036815466609008, 2553018492454631240215801344, 1668797317379516060093446975104
Offset: 0

Views

Author

Seiichi Manyama, Jun 20 2024

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=1, n, k!*k^(n-3)*abs(stirling(n, k, 1)));

Formula

E.g.f.: Sum_{k>=1} (-log(1 - k*x))^k / k^3.

A373875 a(n) = Sum_{k=1..n} k! * k^(n-2) * |Stirling1(n,k)|.

Original entry on oeis.org

0, 1, 3, 32, 802, 36854, 2698598, 288450168, 42388536888, 8198703649296, 2019226648157472, 616991110153816848, 229048514514263311008, 101540936651344709359632, 52984383824921037875927760, 32145394332240602286960456192
Offset: 0

Views

Author

Seiichi Manyama, Jun 20 2024

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=1, n, k!*k^(n-2)*abs(stirling(n, k, 1)));

Formula

E.g.f.: Sum_{k>=1} (-log(1 - k*x))^k / k^2.

A354674 a(n) = Sum_{k=0..n} k! * k^(k+n) * |Stirling1(n,k)|.

Original entry on oeis.org

1, 1, 33, 4568, 1653010, 1236180194, 1657339714418, 3620923498508952, 12037504737979759944, 57827877567223173191712, 385581993722741959459382352, 3454851578510897594456017095504, 40509304222426523176427339597382336
Offset: 0

Views

Author

Seiichi Manyama, Jun 02 2022

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=0, n, k!*k^(k+n)*abs(stirling(n, k, 1)));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec(serlaplace(sum(k=0, N, (-k*log(1-k*x))^k)))

Formula

E.g.f.: Sum_{k>=0} (-k * log(1 - k*x))^k.
Showing 1-9 of 9 results.