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

A201159 Irregular triangle read by rows: number of {0,1,2}-shifted Schroeder paths of length n and area k.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 4, 5, 5, 5, 3, 1, 1, 1, 2, 2, 4, 5, 8, 10, 12, 13, 15, 17, 16, 13, 9, 4, 1, 1, 1, 2, 2, 4, 5, 8, 10, 15, 18, 23, 27, 34, 40, 47, 52, 56, 57, 57, 56, 50, 39, 26, 14, 5, 1, 1, 1, 2, 2, 4, 5, 8, 10, 15, 18, 26, 32, 42, 50, 63
Offset: 0

Views

Author

N. J. A. Sloane, Nov 27 2011

Keywords

Examples

			Triangle begins
1
1 1
1 1 2 2 1
1 1 2 2 4 5 5 5 3 1
1 1 2 2 4 5 8 10 12 13 15 17 16 13 9 4 1
...
		

Crossrefs

Row sums are A064641.
Cf. S-shifted Schroeder paths for various S: A201075 {0,1}, A201076 {0,2}, A201079 {0,2,4,6...}, A201080 {0,1,3,5...}.

Programs

  • Mathematica
    gf = Expand /@ FixedPoint[1 + x # + q x (1 + q x) # (Normal@# /. {x :> q^2 x}) + O[x]^7 &, 0];
    Flatten[Reverse[CoefficientList[#, q]] & /@ CoefficientList[gf, x]] (* Andrey Zabolotskiy, Jan 03 2024 *)

Extensions

More terms from Andrey Zabolotskiy, Jan 03 2024

A201075 Irregular triangle read by rows: number of Schroeder paths of length n and weighted area n^2-k.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 3, 4, 3, 3, 3, 1, 1, 1, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 10, 7, 6, 4, 1, 1, 1, 1, 2, 3, 4, 5, 7, 10, 13, 14, 17, 22, 25, 27, 31, 34, 34, 33, 31, 28, 21, 14, 10, 5, 1, 1, 1, 1, 2, 3, 4, 5, 7, 10, 13, 16, 21, 26, 31, 37, 45, 54
Offset: 0

Views

Author

N. J. A. Sloane, Nov 26 2011

Keywords

Comments

0 <= k <= n^2.

Examples

			Triangle begins:
1
1 1
1 1 1 2 1
1 1 1 2 3 4 3 3 3 1
1 1 1 2 3 4 5 7 8 9 10 11 10 7 6 4 1
...
		

Crossrefs

Mirror image of A129179.

Programs

  • Mathematica
    gf = Expand /@ FixedPoint[1 + x # (1 + q Normal@# /. {x :> q^2 x}) + O[x]^7 &, 0];
    Flatten[Reverse[CoefficientList[#, q]] & /@ CoefficientList[gf, x]] (* Andrey Zabolotskiy, Jan 03 2024 *)

Extensions

More terms from Andrey Zabolotskiy, Jan 03 2024

A201076 Irregular triangle read by rows: number of {0,2}-shifted Schroeder paths of length n and area k.

Original entry on oeis.org

1, 1, 1, 2, 0, 1, 2, 3, 3, 0, 1, 2, 3, 6, 7, 7, 5, 0, 0, 1, 2, 3, 6, 10, 13, 16, 20, 19, 15, 8, 0, 0, 1, 2, 3, 6, 10, 16, 22, 29, 39, 48, 53, 56, 57, 46, 30, 13, 0, 0, 0, 1, 2, 3, 6, 10, 16, 25, 35, 48, 66, 85, 106, 127, 147, 167, 179, 178, 168, 146, 103, 58, 21, 0, 0, 0
Offset: 0

Views

Author

N. J. A. Sloane, Nov 26 2011

Keywords

Examples

			Triangle begins
1
1
1 2 0
1 2 3 3 0
1 2 3 6 7 7 5 0 0
1 2 3 6 10 13 16 20 19 15 8 0 0
...
		

Crossrefs

Row sums give A052709. Rows converge to A101277.
Cf. S-shifted Schroeder paths for various S: A201075 {0,1}, A201079 {0,2,4,6...}, A201080 {0,1,3,5...}, A201159 {0,1,2}.

Programs

  • Mathematica
    gf = Expand /@ FixedPoint[1 + (q x + q^2 x^2) # (Normal@# /. {x :> q^2 x}) + O[x]^8 &, 0];
    Flatten[Reverse[CoefficientList[#, q]][[;; ;; 2]] & /@ CoefficientList[gf, x]] (* Andrey Zabolotskiy, Jan 02 2024 *)

Extensions

Row 5 corrected, rows 6-7 added by Andrey Zabolotskiy, Jan 02 2024
Showing 1-3 of 3 results.