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.

A381760 Number of words of length 2n+1 with one 0 entry and two entries of each of 1..n so that there are exactly k numbers between two equal k's and so that the first element is not 0 and also does not exceed the last.

Original entry on oeis.org

1, 1, 1, 3, 11, 38, 130, 638, 4158, 23384, 124520, 847484, 6987380, 53746000, 400346544, 3529108816, 35963592624, 351432650816, 3346590201888, 36341624453568
Offset: 1

Views

Author

Zhao Hui Du, Mar 06 2025

Keywords

Examples

			For n=4, there are 3 different ways {131423024, 141302432, 240231413} so that a(4)=3 and both 023421314 and 041312432 are invalid since 0 in boundary.
		

Crossrefs

Formula

a(n) = A381759(n) - A176127(n).