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

A338740 Number of hairpin compositions of n.

Original entry on oeis.org

0, 0, 0, 0, 2, 4, 14, 28, 70, 140, 310, 621, 1302, 2607, 5335, 10675, 21593
Offset: 1

Views

Author

Michel Marcus, Nov 06 2020

Keywords

Comments

A hairpin composition with t parts is a composition that is true-palindromic except for a part-sequence in the center of length at least 1 but no more than t-2. [Shapcott p. 46]

Crossrefs

Cf. A016116 (symmetric compositions), A338739.
Showing 1-1 of 1 results.