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.

A000460 Eulerian numbers (Euler's triangle: column k=3 of A008292, column k=2 of A173018).

Original entry on oeis.org

1, 11, 66, 302, 1191, 4293, 14608, 47840, 152637, 478271, 1479726, 4537314, 13824739, 41932745, 126781020, 382439924, 1151775897, 3464764515, 10414216090, 31284590870, 93941852511, 282010106381, 846416194536, 2540053889352, 7621839388981, 22869007827143
Offset: 3

Views

Author

Keywords

Comments

There are 2 versions of Euler's triangle:
* A008292 Classic version of Euler's triangle used by Comtet (1974).
* A173018 Version of Euler's triangle used by Graham, Knuth and Patashnik in Concrete Math. (1990).
Euler's triangle rows and columns indexing conventions:
* A008292 The rows and columns of the Eulerian triangle are both indexed starting from 1. (Classic version: used in the classic books by Riordan and Comtet.)
* A173018 The rows and columns of the Eulerian triangle are both indexed starting from 0. (Graham et al.)
Number of permutations of [n] with exactly 2 descents. - Mike Zabrocki, Nov 10 2004

References

  • L. Comtet, "Permutations by Number of Rises; Eulerian Numbers." §6.5 in Advanced Combinatorics: The Art of Finite and Infinite Expansions, rev. enl. ed. Dordrecht, Netherlands: Reidel, pp. 51 and 240-246, 1974.
  • L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 243.
  • F. N. David and D. E. Barton, Combinatorial Chance. Hafner, NY, 1962, p. 151.
  • F. N. David, M. G. Kendall and D. E. Barton, Symmetric Function and Allied Tables, Cambridge, 1966, p. 260.
  • J. B. Remmel et al., The combinatorial properties of the Benoumhani polynomials for the Whitney numbers of Dowling lattices, Discrete Math., 342 (2019), 2966-2983. See page 2981.
  • J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 215.
  • 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. A008292 (classic version of Euler's triangle used by Comtet (1974)).
Cf. A173018 (version of Euler's triangle used by Graham, Knuth and Patashnik in Concrete Math. (1990)).
Cf. A000295.

Programs

  • Magma
    [3^n-(n+1)*2^n+(1/2)*n*(n+1): n in [3..30]]; // Vincenzo Librandi, Apr 18 2017
    
  • Magma
    [EulerianNumber(n, 2): n in [3..40]]; // G. C. Greubel, Oct 02 2024
    
  • Maple
    A000460:=-z*(-1-z+4*z**2)/(-1+3*z)/(2*z-1)**2/(z-1)**3; # Simon Plouffe in his 1992 dissertation
  • Mathematica
    k = 3; Table[k^(n+k-1) + Sum[(-1)^i/i!*(k-i)^(n+k-1) * Product[n+k+1-j, {j, 1, i}], {i, k-1}], {n, 23}] (* or *)
    Array[3^(# + 2) - (# + 3)*2^(# + 2) + (1/2)*(# + 2)*(# + 3) &, 23] (* Michael De Vlieger, Aug 04 2015, after PARI *)
  • PARI
    A000460(n) = 3^(n+2)-(n+3)*2^(n+2)+(1/2)*(n+2)*(n+3)
    
  • SageMath
    def A000460(n): return 3^n - (n+1)*2^n + binomial(n+1,2)
    [A000460(n) for n in range(3,31)] # G. C. Greubel, Oct 02 2024

Formula

a(n) = 3^n - (n+1)*2^n + (1/2)*n*(n+1). - Randall L Rathbun, Jan 22 2002
G.f.: x^3*(1+x-4*x^2)/((1-x)^3*(1-2*x)^2*(1-3*x)). - Mike Zabrocki, Nov 10 2004
E.g.f.: exp(x)*(exp(2*x) - (1 + 2*x)*exp(x) + x + x^2/2). - Wolfdieter Lang, Apr 17 2017

Extensions

More terms from Christian G. Bower, May 12 2000
More terms from Mike Zabrocki, Nov 10 2004