Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A008549
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A008549 Number of ways of choosing at most n-1 items from a set of size 2n+1. +0
15
0, 1, 6, 29, 130, 562, 2380, 9949, 41226, 169766, 695860, 2842226, 11576916, 47050564, 190876696, 773201629, 3128164186, 12642301534, 51046844836, 205954642534, 830382690556, 3345997029244, 13475470680616 (list; graph; listen)
OFFSET

0,3

COMMENT

Area under Dyck excursions (paths ending in 0): a(n) is the sum of the areas under all Dyck excursions of length 2*n (nonnegative walks beginning and ending in 0 with jumps -1,+1).

Number of inversions in all 321-avoiding permutations of [n+1]. Example: a(2)=6 because the 321-avoiding permutations of [3], namely 123,132,312,213,231, have 0, 1, 2, 1, 2 inversions, respectively. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 28 2003

Convolution of A001791 and A000984. - Paul Barry (pbarry(AT)wit.ie), Feb 16 2005

REFERENCES

R. Chapman, Moments of Dyck paths, Discrete Math., 204 (1999), 113-117.

E. Pergola, Two bijections for the area of Dyck paths, Discrete Math., 241 (2001), 435-447.

W.-J. Woan, Area of Catalan Paths, Discrete Math., 226 (2001), 439-444.

LINKS

T. D. Noe, Table of n, a(n) for n=0..200

C. Banderier, Analytic combinatorics of random walks and planar maps, PhD Thesis, 2001.

FORMULA

a(n) = 4^n - C(2*n+1, n).

Also a(n) = Sum_{k=1..n} Catalan(k)*4^(n-k).

Convolution of Catalan numbers and powers of 4: a(n+1)=sum(C(k+1)*4^(n-k), k=0..n); G.f.: x*(c(x)^2)/(1-4*x), c(x) = g.f. of Catalan numbers [ Wolfdieter Lang (wolfdieter.lang(AT)physik.uni-karlsruhe.de) ]

Note Sum[Binomial[2n+1, k], {k, 0, 2n + 1}] = 2^(2n+1). Therefore by the symmetry of Pascal's triangle, Sum[Binomial[2n+1, k], {k, 0, n}] = 2^(2n) = 4^n. This explains why the following two expressions for a(n) are equal: Sum[Binomial[2n+1, k], {k, 0, n-1}] = 4^n - Binomial [2n+1, n] - Dan Velleman

G.f.: (2*x^2-1+sqrt(1-4*x^2))/(2*(1+2*x)*(2*x-1)*x^3)

a(n)=sum{k=0..n, C(2k, k)C(2(n-k), n-k-1)}. - Paul Barry (pbarry(AT)wit.ie), Feb 16 2005

Second binomial transform of 2^n-C(n, floor(n/2))=A045621(n). - Paul Barry (pbarry(AT)wit.ie), Jan 13 2006

EXAMPLE

a(2) = 6 because there are 6 ways to choose at most 1 item from a set of size 5: You can choose the empty set, or you can choose any of the five one-element sets.

MAPLE

f := n->4^n-binomial(2*n+1, n);

PROGRAM

(PARI) {a(n)=if(n<0, 0, 4^n -binomial(2*n+1, n))} /* Michael Somos Oct 31 2006 */

CROSSREFS

Cf. A057571.

Sequence in context: A081278 A054146 A081674 this_sequence A026675 A026873 A081179

Adjacent sequences: A008546 A008547 A008548 this_sequence A008550 A008551 A008552

KEYWORD

nonn,easy,nice

AUTHOR

njas

EXTENSIONS

Better description from Dan Velleman (djvelleman(AT)amherst.edu), Dec 01 2000

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research