OFFSET
0,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..200
FORMULA
a(n) = Catalan(n)*(3^(n+1) - 2^(n+1) + 1)/2;
o.g.f: -(sqrt(1-4x) - sqrt(1-8x)+ sqrt(1-12x) -1)/(4x).
MATHEMATICA
Table[CatalanNumber[n] (3^(n + 1) - 2^(n + 1) + 1)/2, {n, 0, 20}] (* Wesley Ivan Hurt, Jan 30 2014 *)
PROG
(PARI) a(n)={binomial(2*n, n)/(n + 1)*(3^(n+1) - 2^(n+1) + 1)/2} \\ Harry J. Smith, Aug 16 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Olivier Gérard, Jul 04 2001
EXTENSIONS
Formula corrected by Harry J. Smith, Aug 16 2009
STATUS
approved