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.

A221881 Number of order-preserving or order-reversing full contraction mappings (of an n-chain) with (right) waist exactly k.

Original entry on oeis.org

1, 1, 3, 1, 5, 7, 1, 7, 13, 15, 1, 9, 21, 29, 31, 1, 11, 31, 51, 61, 63, 1, 13, 43, 83, 113, 125, 127, 1, 15, 57, 127, 197, 239, 253, 255, 1, 17, 73, 185, 325, 437, 493, 509, 511, 1, 19, 91, 259, 511, 763, 931, 1003, 1021, 1023
Offset: 1

Views

Author

Abdullahi Umar, Feb 28 2013

Keywords

Comments

Row sums are A221882.

Examples

			T(5,2) = 9 because there are exactly 9 order-preserving or order-reversing full contraction mappings (of a 5-chain) with (right) waist exactly 2, namely: (11112), (11122), (11222), (12222), (21111), (22111), (22211), (22221), (22222).
		

Crossrefs

Formula

T(n,k) = 2*Sum_{p=1..k} C(n-1,p-1) - 1 for k >=1.