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.

A372768 The number of shaded cells in all compositions of n when light shines from the northwest. Here compositions are represented by stacked columns of adjacent cells.

Original entry on oeis.org

0, 1, 4, 13, 34, 85, 199, 454, 1011, 2220, 4813, 10351, 22104, 46948, 99266, 209113
Offset: 1

Views

Author

Michael Mays, May 12 2024

Keywords

Examples

			For n=4, the composition 1+3 produces 3 shaded cells, 2+2 produces 1, 3+1 produces 2, 1+1+2 produces 1, 4 produces 6, and the others have no shaded cells, for a total of 13, so a(4) = 13.
		

Crossrefs

Cf. A366157.