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.

A298248 Triangle of double-Eulerian numbers DE(n,k) (n >= 0, 0 <= k <= max(0, 2*(n-1))) read by rows.

Original entry on oeis.org

1, 1, 1, 0, 1, 1, 0, 4, 0, 1, 1, 0, 10, 2, 10, 0, 1, 1, 0, 20, 12, 54, 12, 20, 0, 1, 1, 0, 35, 42, 212, 140, 212, 42, 35, 0, 1, 1, 0, 56, 112, 675, 880, 1592, 880, 675, 112, 56, 0, 1, 1, 0, 84, 252, 1845, 3962, 9246, 9540, 9246, 3962, 1845, 252, 84, 0, 1
Offset: 0

Views

Author

Christian Stump, Jan 16 2018

Keywords

Comments

DE(n,k) = number of permutations with d descents and e descents of the inverse such that d+e = k.

Examples

			The triangle DE(n, k) begins:
n\k 0    1     2     3      4      5      6     7     8    9   10
0:  1
1:  1
2:  1    0     1
3:  1    0     4     0      1
4:  1    0    10     2     10      0      1
5:  1    0    20    12     54     12     20     0     1
6:  1    0    35    42    212    140    212    42    35    0    1
		

References

  • Christian Stump, On bijections between 231-avoiding permutations and Dyck paths, MathSciNet:2734176

Crossrefs

Row sums give A000142.

Programs

  • SageMath
    q = var("q")
    [sum( q^(pi.number_of_descents()+pi.inverse().number_of_descents()) for pi in Permutations(n) ).coefficients(sparse=False) for n in [1 .. 6]]