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.

A359067 a(2*n) = Sum_{k=0..n-1} binomial(2*n,k) binomial(2*n-1-k, n-1-k). a(2*n+1) = (Sum_{k=0..n} binomial(2*n+1,k) binomial(2*n-k, n-k)) - binomial(2*n-1, n).

Original entry on oeis.org

0, 1, 4, 7, 28, 49, 199, 351, 1436, 2561, 10499, 18943, 77617, 141569, 579149, 1066495, 4354780, 8085505, 32954635, 61616127, 250713893, 471556097, 1915928117, 3621830655, 14696701553, 27902803969, 113099318869, 215530668031, 872780984131, 1668644405249, 6751457741849
Offset: 1

Views

Author

Bridget Tenner, Dec 15 2022

Keywords

Comments

For n >= 3, the number of admissible pinnacle sets in the group S_n^D of even-signed permutations.
The even-indexed terms match the even-indexed terms of A359066. The odd-indexed terms differ from the odd-indexed terms of A359066 by binomial(2*n-1, n).

Examples

			For n = 3, the a(3) = 4 admissible pinnacle sets in S_3^D are {}, {1}, {2}, {3}.
		

Crossrefs

Programs

  • Maple
    a := n -> if irem(n - 1, 2) = 1 then binomial(n, n/2 - 1)*hypergeom([n/2 + 1, -n/2 + 1], [n/2 + 2], -1) else binomial(n + 1, n/2 + 1/2)*hypergeom([n/2 + 1/2, -n/2 + 1/2], [n/2 + 3/2], -1)/2 - binomial(n - 2, n/2 - 1/2) fi:
    seq(simplify(a(n)), n = 3..31); # Peter Luschny, Jan 03 2023

Formula

a(2*n) = Sum_{k=0..n-1} binomial(2*n,k) binomial(2*n-1-k, n-1-k).
a(2*n+1) = (Sum_{k=0..n} binomial(2*n+1,k) binomial(2*n-k, n-k)) - binomial(2*n-1, n).
a(n) = A240721((n-2)/2) if n-1 is odd and otherwise A178792((n-1)/2) - binomial(2*n - 1, n). - Peter Luschny, Jan 03 2023