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

A000254 Unsigned Stirling numbers of first kind, s(n+1,2): a(n+1) = (n+1)*a(n) + n!.

Original entry on oeis.org

0, 1, 3, 11, 50, 274, 1764, 13068, 109584, 1026576, 10628640, 120543840, 1486442880, 19802759040, 283465647360, 4339163001600, 70734282393600, 1223405590579200, 22376988058521600, 431565146817638400, 8752948036761600000, 186244810780170240000
Offset: 0

Views

Author

Keywords

Comments

Number of permutations of n+1 elements with exactly two cycles.
Number of cycles in all permutations of [n]. Example: a(3) = 11 because the permutations (1)(2)(3), (1)(23), (12)(3), (13)(2), (132), (123) have 11 cycles altogether. - Emeric Deutsch, Aug 12 2004
Row sums of A094310: In the symmetric group S_n, each permutation factors into k independent cycles; a(n) = sum k over S_n. - Harley Flanders (harley(AT)umich.edu), Jun 28 2004
The sum of the top levels of the last column over all deco polyominoes of height n. A deco polyomino is a directed column-convex polyomino in which the height, measured along the diagonal, is attained only in the last column. Example: a(2)=3 because the deco polyominoes of height 2 are the vertical and horizontal dominoes, the levels of their last columns being 2 and 1, respectively. - Emeric Deutsch, Aug 12 2006
a(n) is divisible by n for all composite n >= 6. a(2*n) is divisible by 2*n + 1. - Leroy Quet, May 20 2007
For n >= 2 the determinant of the n-1 X n-1 matrix M(i,j) = i + 2 for i = j and 1 otherwise (i,j = 1..n-1). E.g., for n = 3 the determinant of [(3, 1), (1, 4)]. See 53rd Putnam Examination, 1992, Problem B5. - Franz Vrabec, Jan 13 2008, Mar 26 2008
The numerator of the fraction when we sum (without simplification) the terms in the harmonic sequence. (1 + 1/2 = 2/2 + 1/2 = 3/2; 3/2 + 1/3 = 9/6 + 2/6 = 11/6; 11/6 + 1/4 = 44/24 + 6/24 = 50/24;...). The denominator of this fraction is n!*A000142. - Eric Desbiaux, Jan 07 2009
The asymptotic expansion of the higher order exponential integral E(x,m=2,n=1) ~ exp(-x)/x^2*(1 - 3/x + 11/x^2 - 50/x^3 + 274/x^4 - 1764/x^5 + 13068/x^6 - ...) leads to the sequence given above. See A163931 and A028421 for more information. - Johannes W. Meijer, Oct 20 2009
a(n) is the number of permutations of [n+1] containing exactly 2 cycles. Example: a(2) = 3 because the permutations (1)(23), (12)(3), (13)(2) are the only permutations of [3] with exactly 2 cycles. - Tom Woodward (twoodward(AT)macalester.edu), Nov 12 2009
It appears that, with the exception of n= 4, a(n) mod n = 0 if n is composite and = n-1 if n is prime. - Gary Detlefs, Sep 11 2010
a(n) is a multiple of A025527(n). - Charles R Greathouse IV, Oct 16 2012
Numerator of harmonic number H(n) = Sum_{i=1..n} 1/i when not reduced. See A001008 (Wolstenholme numbers) for the reduced numerators. - Rahul Jha, Feb 18 2015
The Stirling transform of this sequence is A222058(n) (Harmonic-geometric numbers). - Anton Zakharov, Aug 07 2016
a(n) is the (n-1)-st elementary symmetric function of the first n numbers. - Anton Zakharov, Nov 02 2016
The n-th iterated integral of log(x) is x^n * (n! * log(x) - a(n))/(n!)^2 + a polynomial of degree n-1 with arbitrary coefficients. This can be proven using the recurrence relation a(n) = (n-1)! + n*a(n-1). - Mohsen Maesumi, Oct 31 2018
Primes p such that p^3 | a(p-1) are the Wolstenholme primes A088164. - Amiram Eldar and Thomas Ordowski, Aug 08 2019
Total number of left-to-right maxima (or minima) in all permutations of [n]. a(3) = 11 = 3+2+2+2+1+1: (1)(2)(3), (1)(3)2, (2)1(3), (2)(3)1, (3)12, (3)21. - Alois P. Heinz, Aug 01 2020

Examples

			(1-x)^-1 * (-log(1-x)) = x + 3/2*x^2 + 11/6*x^3 + 25/12*x^4 + ...
G.f. = x + x^2 + 5*x^3 + 14*x^4 + 94*x^5 + 444*x^6 + 3828*x^7 + 25584*x^8 + ...
		

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. 833.
  • A. T. Benjamin and J. J. Quinn, Proofs that really count: the art of combinatorial proof, M.A.A. 2003, identities 186-190.
  • N. Bleistein and R. A. Handelsman, Asymptotic Expansions of Integrals, Dover Publications, 1986, see page 2. MR0863284 (89d:41049)
  • L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 217.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 226.
  • Shanzhen Gao, Permutations with Restricted Structure (in preparation).
  • K. Javorszky, Natural Orders: De Ordinibus Naturalibus, 2016, ISBN 978-3-99057-139-2.
  • 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

Programs

  • Magma
    a:=[]; for n in [1..22] do a:=a cat [Abs(StirlingFirst(n,2))]; end for; a; // Marius A. Burtea, Jan 01 2020
  • Maple
    A000254 := proc(n) option remember; if n<=1 then n else n*A000254(n-1)+(n-1)!; fi; end: seq(A000254(n),n=0..21);
    a := n -> add(n!/k, k=1..n): seq(a(n), n=0..21); # Zerinvary Lajos, Jan 22 2008
  • Mathematica
    Table[ (PolyGamma[ m ]+EulerGamma) (m-1)!, {m, 1, 24} ] (* Wouter Meeussen *)
    Table[ n!*HarmonicNumber[n], {n, 0, 19}] (* Robert G. Wilson v, May 21 2005 *)
    Table[Sum[1/i,{i,1,n}]/Product[1/i,{i,1,n}],{n,1,30}] (* Alexander Adamchuk, Jul 11 2006 *)
    Abs[StirlingS1[Range[20],2]] (* Harvey P. Dale, Aug 16 2011 *)
    Table[Gamma'[n + 1] /. EulerGamma -> 0, {n, 0, 30}] (* Li Han, Feb 14 2024*)
  • Maxima
    a(n):=(-1)^(n+1)/2*(n+1)*sum(k*bern(k-1)*stirling1(n,k),k,1,n); /* Vladimir Kruchinin, Nov 20 2016 */
    
  • MuPAD
    A000254 := proc(n) begin n*A000254(n-1)+fact(n-1) end_proc: A000254(1) := 1:
    
  • PARI
    {a(n) = if( n<0, 0, (n+1)! / 2 * sum( k=1, n, 1 / k / (n+1-k)))} /* Michael Somos, Feb 05 2004 */
    
  • Sage
    [stirling_number1(i, 2) for i in range(1, 22)]  # Zerinvary Lajos, Jun 27 2008
    

Formula

Let P(n,X) = (X+1)*(X+2)*(X+3)*...*(X+n); then a(n) is the coefficient of X; or a(n) = P'(n,0). - Benoit Cloitre, May 09 2002
Sum_{k > 0} a(k) * x^k/ k!^2 = exp(x) *(Sum_{k>0} (-1)^(k+1) * x^k / (k * k!)). - Michael Somos, Mar 24 2004; corrected by Warren D. Smith, Feb 12 2006
a(n) is the coefficient of x^(n+2) in (-log(1-x))^2, multiplied by (n+2)!/2.
a(n) = n! * Sum_{i=1..n} 1/i = n! * H(n), where H(n) = A001008(n)/A002805(n) is the n-th harmonic number.
a(n) ~ 2^(1/2)*Pi^(1/2)*log(n)*n^(1/2)*e^-n*n^n. - Joe Keane (jgk(AT)jgk.org), Jun 06 2002
E.g.f.: log(1 - x) / (x-1). (= (log(1 - x))^2 / 2 if offset 1). - Michael Somos, Feb 05 2004
D-finite with recurrence: a(n) = a(n-1) * (2*n - 1) - a(n-2) * (n - 1)^2, if n > 1. - Michael Somos, Mar 24 2004
a(n) = A081358(n)+A092691(n). - Emeric Deutsch, Aug 12 2004
a(n) = n!*Sum_{k=1..n} (-1)^(k+1)*binomial(n, k)/k. - Vladeta Jovovic, Jan 29 2005
p^2 divides a(p-1) for prime p > 3. a(n) = (Sum_{i=1..n} 1/i) / Product_{i=1..n} 1/i. - Alexander Adamchuk, Jul 11 2006
a(n) = 3* A001710(n) + 2* A001711(n-3) for n > 2; e.g., 11 = 3*3 + 2*1, 50 = 3*12 + 2*7, 274 = 3*60 + 2*47, ... - Gary Detlefs, May 24 2010
a(n) = A138772(n+1) - A159324(n). - Gary Detlefs, Jul 05 2010
a(n) = A121633(n) + A002672(n). - Gary Detlefs, Jul 18 2010
a(n+1) = Sum_{i=1..floor((n-1)/2)} n!/((n-i)*i) + Sum_{i=ceiling(n/2)..floor(n/2)} n!/(2*(n-i)*i). - Shanzhen Gao, Sep 14 2010
From Gary Detlefs, Sep 11 2010: (Start)
a(n) = (a(n-1)*(n^2 - 2*n + 1) + (n + 1)!)/(n - 1) for n > 2.
It appears that, with the exception of n = 2, (a(n+1)^2 - a(n)^2) mod n^2 = 0 if n is composite and 4*n if n is prime.
It appears that, with the exception of n = 2, (a(n+1)^3 - a(n)^2) mod n = 0 if n is composite and n - 2 if n is prime.
It appears that, with the exception of n = 2, (a(n)^2 + a(n+1)^2) mod n = 0 if n is composite and = 2 if n is prime. (End)
a(n) = Integral_{x=0..oo} (x^n - n!)*log(x)*exp(-x) dx. - Groux Roland, Mar 28 2011
a(n) = 3*n!/2 + 2*(n-2)!*Sum_{k=0..n-3} binomial(k+2,2)/(n-2-k) for n >= 2. - Gary Detlefs, Sep 02 2011
a(n)/(n-1)! = ml(n) = n*ml(n-1)/(n-1) + 1 for n > 1, where ml(n) is the average number of random draws from an n-set with replacement until the total set has been observed. G.f. of ml: x*(1 - log(1 - x))/(1 - x)^2. - Paul Weisenhorn, Nov 18 2011
a(n) = det(|S(i+2, j+1)|, 1 <= i,j <= n-2), where S(n,k) are Stirling numbers of the second kind. - Mircea Merca, Apr 06 2013
E.g.f.: x/(1 - x)*E(0)/2, where E(k) = 2 + E(k+1)*x*(k + 1)/(k + 2). - Sergei N. Gladkovskii, Jun 01 2013 [Edited by Michael Somos, Nov 28 2013]
0 = a(n) * (a(n+4) - 6*a(n+3) + 7*a(n+2) - a(n+1)) - a(n+1) * (4*a(n+3) - 6*a(n+2) + a(n+1)) + 3*a(n+2)^2 unless n=0. - Michael Somos, Nov 28 2013
For a simple way to calculate the sequence, multiply n! by the integral from 0 to 1 of (1 - x^n)/(1 - x) dx. - Rahul Jha, Feb 18 2015
From Ilya Gutkovskiy, Aug 07 2016: (Start)
Inverse binomial transform of A073596.
a(n) ~ sqrt(2*Pi*n) * n^n * (log(n) + gamma)/exp(n), where gamma is the Euler-Mascheroni constant A001620. (End)
a(n) = ((-1)^(n+1)/2*(n+1))*Sum_{k=1..n} k*Bernoulli(k-1)*Stirling1(n,k). - Vladimir Kruchinin, Nov 20 2016
a(n) = (n)! * (digamma(n+1) + gamma), where gamma is the Euler-Mascheroni constant A001620. - Pedro Caceres, Mar 10 2018
From Andy Nicol, Oct 21 2021: (Start)
Gamma'(x) = a(x-1) - (x-1)!*gamma, where Gamma'(x) is the derivative of the gamma function at positive integers and gamma is the Euler-Mascheroni constant. E.g.:
Gamma'(1) = -gamma, Gamma'(2) = 1-gamma, Gamma'(3) = 3-2*gamma,
Gamma'(22) = 186244810780170240000 - 51090942171709440000*gamma. (End)
From Peter Bala, Feb 03 2022: (Start)
The following are all conjectural:
E.g.f.: for nonzero m, (1/m)*Sum_{n >= 1} (-1)^(n+1)*(1/n)*binomial(m*n,n)* x^n/(1 - x)^(m*n+1) = x + 3*x^2/2! + 11*x^3/3! + 50*x^4/4! + ....
For nonzero m, a(n) = (1/m)*n!*Sum_{k = 1..n} (-1)^(k+1)*(1/k)*binomial(m*k,k)* binomial(n+(m-1)*k,n-k).
a(n)^2 = (1/2)*n!^2*Sum_{k = 1..n} (-1)^(k+1)*(1/k^2)*binomial(n,k)* binomial(n+k,k). (End)
From Mélika Tebni, Jun 20 2022: (Start)
a(n) = -Sum_{k=0..n} k!*A021009(n, k+1).
a(n) = Sum_{k=0..n} k!*A094587(n, k+1). (End)
a(n) = n! * 1/(1 - 1^2/(3 - 2^2/(5 - 3^2/(7 - ... - (n - 1)^2/((2*n - 1)))))). - Peter Bala, Mar 16 2024

A000399 Unsigned Stirling numbers of first kind s(n,3).

Original entry on oeis.org

1, 6, 35, 225, 1624, 13132, 118124, 1172700, 12753576, 150917976, 1931559552, 26596717056, 392156797824, 6165817614720, 102992244837120, 1821602444624640, 34012249593822720, 668609730341153280, 13803759753640704000
Offset: 3

Views

Author

Keywords

Comments

Number of permutations of n elements with exactly 3 cycles.
The asymptotic expansion of the higher order exponential integral E(x,m=3,n=1) ~ exp(-x)/x^3*(1 - 6/x + 35/x^2 - 225/x^3 + 1624/x^4 - 13132/x^5 + ...) leads to the sequence given above. See A163931 and A163932 for more information. - Johannes W. Meijer, Oct 20 2009

Examples

			(-log(1-x))^3 = x^3 + 3/2*x^4 + 7/4*x^5 + 15/8*x^6 + ...
		

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. 833.
  • L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 217.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 226.
  • Shanzhen Gao, Permutations with Restricted Structure (in preparation). - Shanzhen Gao, Sep 14 2010
  • 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

Programs

  • Magma
    A000399:=func< n | Abs(StirlingFirst(n, 3)) >; [ A000399(n): n in [3..25] ]; // Klaus Brockhaus, Jan 14 2011
  • Maple
    seq(abs(Stirling1(n,3)),n=3..30); # Robert Israel, Jul 05 2015
  • Mathematica
    a=Log[1/(1-x)];Range[0,20]! CoefficientList[Series[a^3/3!,{x,0,20}],x]
    f[n_] := Abs@ StirlingS1[n, 3]; Array[f, 19, 3]
    Abs[StirlingS1[Range[3,30],3]] (* Harvey P. Dale, Jun 23 2014 *)
    f[n_] := Gamma[n]*(HarmonicNumber[n - 1]^2 + Zeta[2, n] - Zeta[2])/2; Array[f, 19, 3] (* Robert G. Wilson v, Jul 05 2015 *)
  • MuPAD
    f := proc(n) option remember; begin n^3*f(n-3)-(3*n^2+3*n+1)*f(n-2)+3*(n+1)*f(n-1) end_proc: f(0) := 1: f(1) := 6: f(2) := 35:
    
  • PARI
    for(n=2,50,print1(polcoeff(prod(i=1,n,x+i),2,x),","))
    
  • Sage
    [stirling_number1(i+2,3) for i in range(1,22)] # Zerinvary Lajos, Jun 27 2008
    

Formula

Let P(n-1,X) = (X+1)(X+2)(X+3)...(X+n-1); then a(n) is the coefficient of X^2; or a(n) = P''(n-1,0)/2!. - Benoit Cloitre, May 09 2002 [Edited by Petros Hadjicostas, Jun 29 2020 to agree with the offset 3]
E.g.f.: -log(1-x)^3/3!.
a(n) is the coefficient of x^(n+3) in (-log(1-x))^3, multiplied by (n+3)!/6.
a(n) = ((Sum_{i=1..n-1} 1/i)^2 - Sum_{i=1..n-1} 1/i^2)*(n-1)!/2 for n >= 3. - Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Jan 18 2000
a(n) = det(|S(i+3,j+2)|, 1 <= i,j <= n-3), where S(n,k) are Stirling numbers of the second kind. - Mircea Merca, Apr 06 2013
a(n) = Gamma(n)*(HarmonicNumber(n-1)^2 + Zeta(2,n) - Zeta(2))/2. - Gerry Martens, Jul 05 2015
From Petros Hadjicostas, Jun 28 2020: (Start)
a(n) = (n-3)! + (2*n-3)*a(n-1) - (n-2)^2*a(n-2) for n >= 5.
a(n) = 3*(n-2)*a(n-1) - (3*n^2-15*n+19)*a(n-2) + (n-3)^3*a(n-3) for n >= 6. (End)

A000454 Unsigned Stirling numbers of first kind s(n,4).

Original entry on oeis.org

1, 10, 85, 735, 6769, 67284, 723680, 8409500, 105258076, 1414014888, 20313753096, 310989260400, 5056995703824, 87077748875904, 1583313975727488, 30321254007719424, 610116075740491776
Offset: 4

Views

Author

Keywords

Comments

Number of permutations of n elements with exactly 4 cycles.
The asymptotic expansion of the higher order exponential integral E(x, m=4, n=1) ~ exp(-x)/x^4*(1 - 10/x + 85/x^2 - 735/x^3 + 6769/x^4 - ...) leads to the sequence given above. See A163931 and A163932 for more information. - Johannes W. Meijer, Jun 11 2016

Examples

			(-log(1-x))^4 = x^4 + 2*x^5 + (17/6)*x^6 + (7/2)*x^7 + ...
		

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. 833.
  • L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 217.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 226.
  • 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).
  • Shanzhen Gao, Permutations with Restricted Structure (in preparation) [From Shanzhen Gao, Sep 14 2010] [Apparently unpublished as of June 2016]

Crossrefs

Programs

  • Mathematica
    Abs[StirlingS1[Range[4,20],4]] (* Harvey P. Dale, Aug 26 2011 *)
  • PARI
    for(n=3,50,print1(polcoeff(prod(i=1,n,x+i),3,x),","))
    
  • Sage
    [stirling_number1(i,4) for i in range(4,22)] # Zerinvary Lajos, Jun 27 2008

Formula

Let P(n-1,X) = (X+1)(X+2)(X+3)...(X+n-1); then a(n) is the coefficient of X^3; or a(n) = P'''(n-1,0)/3!. - Benoit Cloitre, May 09 2002 [Edited by Petros Hadjicostas, Jun 29 2020 to agree with the offset 4]
E.g.f.: (-log(1-x))^4/4!. [Corrected by Joerg Arndt, Oct 05 2009]
a(n) is coefficient of x^(n+4) in (-log(1-x))^4, multiplied by (n+4)!/4!.
a(n) = (h(n-1, 1)^3 - 3*h(n-1, 1)*h(n-1, 2) + 2*h(n-1, 3))*(n-1)!/3!, where h(n, r) = Sum_{i=1..n} 1/i^r. - Klaus Strassburger, 2000
a(n) = det(|S(i+4,j+3)|, 1 <= i,j <= n-4), where S(n,k) are Stirling numbers of the second kind. - Mircea Merca, Apr 06 2013
a(n) = y(n)*n!/24, where y(0) = y(1) = y(2) = y(3) = 0, y(4) = 1 and n^4*y(n) + (-1-5*n-10*n^2-10*n^3-4*n^4)*y(n+1) + (1+n)*(2+n)*(7+12*n+6*n^2)*y(n+2) - 2*(1+n)*(2+n)*(3+n)*(3+2*n)*y(3+n) + (1+n)*(2+n)*(3+n)*(4+n)*y(n+4) = 0. - Benedict W. J. Irwin, Jul 12 2016
From Vaclav Kotesovec, Jul 12 2016: (Start)
a(n) = 2*(2*n - 5)*a(n-1) - (6*n^2 - 36*n + 55)*a(n-2) + (2*n - 7)*(2*n^2 - 14*n + 25)*a(n-3) - (n-4)^4*a(n-4).
a(n) ~ n! * (log(n))^3 / (6*n) * (1 + 3*gamma/log(n) + (3*gamma^2 - Pi^2/2)/ (log(n))^2), where gamma is the Euler-Mascheroni constant A001620. (End)
From Petros Hadjicostas, Jun 29 2020: (Start)
a(n) = A000399(n-1) + (n-1)*a(n-1) for n >= 1 (assuming a(n) = 0 for n = 0..3).
a(n) = A103719(n-4) + (n-2)*a(n-1) for n >= 4.
a(n) = A000254(n-3) + (2*n-3)*a(n-1) - (n-2)^2*a(n-2) for n >= 3.
a(n) = (n-4)! + 3*(n-2)*a(n-1) - (3*n^2-15*n+19)*a(n-2) + (n-3)^3*a(n-3) for n >= 4. (End)

Extensions

More terms from Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Jan 18 2000

A000482 Unsigned Stirling numbers of first kind s(n,5).

Original entry on oeis.org

1, 15, 175, 1960, 22449, 269325, 3416930, 45995730, 657206836, 9957703756, 159721605680, 2706813345600, 48366009233424, 909299905844112, 17950712280921504, 371384787345228000, 8037811822645051776, 181664979520697076096, 4280722865357147142912, 105005310755917452984576
Offset: 5

Views

Author

Keywords

Comments

Number of permutations of n elements with exactly 5 cycles.
Let P(n-1,X) = (X+1)(X+2)(X+3)...(X+n-1); then a(n) is the coefficient of X^4; or a(n) = P''''(n-1,0)/4! - Benoit Cloitre, May 09 2002 [Edited by Petros Hadjicostas, Jun 29 2020 to agree with the offset of 5]
The asymptotic expansion of the higher order exponential integral E(x,m=5,n=1) ~ exp(-x)/x^5*(1 - 15/x + 175/x^2 - 1960/x^3 + 22449/x^4 - ...) leads to the sequence given above. See A163931 for E(x,m,n) information and A163932 for a Maple procedure for the asymptotic expansion. - Johannes W. Meijer, Oct 20 2009

Examples

			(-log(1-x))^5 = x^5 + 5/2*x^6 + 25/6*x^7 + 35/6*x^8 + ...
		

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. 833.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 226.
  • 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).
  • Shanzhen Gao, Permutations with Restricted Structure (in preparation) [Shanzhen Gao, Sep 14 2010]

Crossrefs

Programs

  • Mathematica
    Abs[StirlingS1[Range[5,30],5]] (* Harvey P. Dale, May 26 2014 *)
  • PARI
    for(n=4,50,print1(polcoeff(prod(i=1,n,x+i),4,x),","))
    
  • Sage
    [stirling_number1(i,5) for i in range(5,22)] # Zerinvary Lajos, Jun 27 2008

Formula

E.g.f.: (-log(1-x))^5/5!. [Corrected by Joerg Arndt, Oct 05 2009]
a(n) is coefficient of x^(n+5) in (-log(1-x))^5, multiplied by (n+5)!/5!.
a(n) = det(|S(i+5,j+4)|, 1 <= i,j <= n-5), where S(n,k) are Stirling numbers of the second kind. [Mircea Merca, Apr 06 2013]
a(n) = 5*(n-3)*a(n-1) - 5*(2*n^2 - 14*n + 25)*a(n-2) + 5*(n-4)*(2*n^2 - 16*n + 33)*a(n-3) - (5*n^4 - 90*n^3 + 610*n^2 - 1845*n + 2101)*a(n-4) + (n-5)^5*a(n-5). - Vaclav Kotesovec, Feb 24 2025

A001233 Unsigned Stirling numbers of first kind s(n,6).

Original entry on oeis.org

1, 21, 322, 4536, 63273, 902055, 13339535, 206070150, 3336118786, 56663366760, 1009672107080, 18861567058880, 369012649234384, 7551527592063024, 161429736530118960, 3599979517947607200, 83637381699544802976, 2021687376910682741568, 50779532534302850198976, 1323714091579185857760000
Offset: 6

Views

Author

Keywords

Comments

The asymptotic expansion of the higher order exponential integral E(x,m=6,n=1) ~ exp(-x)/x^6*(1 - 21/x + 322/x^2 - 4536/x^3 + 63273/x^4 - ...) leads to the sequence given above. See A163931 for E(x,m,n) information and A163932 for a Maple procedure for the asymptotic expansion. - Johannes W. Meijer, Oct 20 2009

Examples

			(-log(1-x))^6 = x^6 + 3*x^7 + 23/4*x^8 + 9*x^9 + ...
		

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. 833.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 226.
  • 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

Programs

  • Mathematica
    Drop[Abs[StirlingS1[Range[30],6]],5] (* Harvey P. Dale, Sep 17 2013 *)
  • PARI
    for(n=5,50,print1(polcoeff(prod(i=1,n,x+i),5,x),","))
    
  • Sage
    [stirling_number1(i,6) for i in range(6,22)] # Zerinvary Lajos, Jun 27 2008

Formula

Let P(n-1,X) = (X+1)(X+2)(X+3)...(X+n-1); then a(n) is the coefficient of X^5; or a(n) = P'''''(n-1,0)/5!. - Benoit Cloitre, May 09 2002 [Edited by Petros Hadjicostas, Jun 29 2020 to agree with the offset of 6]
E.g.f.: (-log(1-x))^6/6!.
a(n) is coefficient of x^(n+6) in (-log(1-x))^6, multiplied by (n+6)!/6!.
a(n) = det(|S(i+6,j+5)|, 1 <= i,j <= n-6), where S(n,k) are Stirling numbers of the second kind. - Mircea Merca, Apr 06 2013
a(n) = 3*(2*n - 7)*a(n-1) - 5*(3*n^2 - 24*n + 49)*a(n-2) + 10*(2*n - 9)*(n^2 - 9*n + 21)*a(n-3) - (15*n^4 - 300*n^3 + 2265*n^2 - 7650*n + 9751)*a(n-4) + (2*n - 11)*(n^2 - 11*n + 31)*(3*n^2 - 33*n + 91)*a(n-5) - (n-6)^6*a(n-6). - Vaclav Kotesovec, Feb 24 2025

A001234 Unsigned Stirling numbers of the first kind s(n,7).

Original entry on oeis.org

1, 28, 546, 9450, 157773, 2637558, 44990231, 790943153, 14409322928, 272803210680, 5374523477960, 110228466184200, 2353125040549984, 52260903362512720, 1206647803780373360, 28939583397335447760
Offset: 7

Views

Author

Keywords

Comments

The asymptotic expansion of the higher order exponential integral E(x,m=7,n=1) ~ exp(-x)/x^7*(1 - 28/x + 546/x^2 - 9450/x^3 + 157773/x^4 - ...) leads to the sequence given above. See A163931 for E(x,m,n) information and A163932 for a Maple procedure for the asymptotic expansion. - Johannes W. Meijer, Oct 20 2009

Examples

			G.f. = x^7 + 28*x^8 + 546*x^9 + 9450*x^10 + 157773*x^11 + 2637558*x^12 + ...
		

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. 834.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 226.
  • 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

Cf. A008275 (Stirling1 triangle).

Programs

  • Maple
    A001234 := proc(n) abs(combinat[stirling1](n,7)) ; end: seq(A001234(n),n=7..30) ; # R. J. Mathar, Nov 06 2009
  • Mathematica
    Table[Abs[StirlingS1[n, 7]], {n, 7, 40}] (* Jean-François Alcover, Mar 24 2020 *)
  • PARI
    for(n=6,50,print1(polcoeff(prod(i=1,n,x+i),6,x),","))
    
  • Sage
    [stirling_number1(i,7) for i in range(7,22)] # Zerinvary Lajos, Jun 27 2008

Formula

Let P(n-1,X) = (X+1)(X+2)(X+3)...(X+n-1); then a(n) is the coefficient of X^6; or a(n) = P^(vi)(n-1,0)/6!. - Benoit Cloitre, May 09 2002 [Edited by Petros Hadjicostas, Jun 29 2020 to agree with the offset 7]
a(n) = det(|S(i+7,j+6)|, 1 <= i,j <= n-7), where S(n,k) are Stirling numbers of the second kind. - Mircea Merca, Apr 06 2013

Extensions

More terms from R. J. Mathar, Nov 06 2009

A243570 Unsigned Stirling numbers of the first kind s(n,9).

Original entry on oeis.org

1, 45, 1320, 32670, 749463, 16669653, 368411615, 8207628000, 185953177553, 4308105301929, 102417740732658, 2503858755467550, 63030812099294896, 1634980697246583456, 43714229649594412832
Offset: 9

Views

Author

Stanislav Sykora, Jun 06 2014

Keywords

Crossrefs

Programs

  • Mathematica
    Drop[Table[Abs[StirlingS1[n, 9]], {n, 0, 20}], 9] (* Vaclav Kotesovec, Jun 06 2014 *)
  • PARI
    abs(stirling(n,9))

A372973 Triangle read by rows: the exponential almost-Riordan array ( 1/(1-x) | 1/(1-x), log(1/(1-x)) ).

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 6, 2, 3, 1, 24, 6, 11, 6, 1, 120, 24, 50, 35, 10, 1, 720, 120, 274, 225, 85, 15, 1, 5040, 720, 1764, 1624, 735, 175, 21, 1, 40320, 5040, 13068, 13132, 6769, 1960, 322, 28, 1, 362880, 40320, 109584, 118124, 67284, 22449, 4536, 546, 36, 1
Offset: 0

Views

Author

Stefano Spezia, May 26 2024

Keywords

Examples

			The triangle begins:
    1;
    1,   1;
    2,   1,   1;
    6,   2,   3,   1;
   24,   6,  11,   6,  1;
  120,  24,  50,  35, 10,  1;
  720, 120, 274, 225, 85, 15, 1;
  ...
		

Crossrefs

Cf. A000012 (right diagonal), A000254, A000399 (k=3), A000454 (k=4), A000482 (k=5), A001233 (k=6), A001234 (k=7), A098558 (row sums), A179865 (subdiagonal), A243569 (k=8), A243570 (k=9).
Triangle A130534 with 1st column A000142.

Programs

  • Mathematica
    T[n_,0]:=n!; T[n_,k_]:=(n-1)!/(k-1)!SeriesCoefficient[1/(1-x)Log[1/(1-x)]^(k-1),{x,0,n-1}]; Table[T[n,k],{n,0,9},{k,0,n}]//Flatten

Formula

T(n,0) = n!; T(n,k) = (n-1)!/(k-1)! * [x^(n-1)] log(1/(1-x))^(k-1)/(1-x).
T(n,1) = (n-1)! for n > 0.
T(n,2) = A000254(n-1) for n > 1.
Showing 1-8 of 8 results.