OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..825
V. J. W. Guo and J. Zeng, The number of convex polyominoes and the generating function of Jacobi polynomials, arXiv:math/0403262 [math.CO], 2004.
FORMULA
a(n) = ((2+n)*C(4*n, 2*n) - 2*n*C(2*n, n)^2)/2, n>0.
MATHEMATICA
a[n_]:= 1/2 (n+2) Binomial[4n, 2n] - n Binomial[2n, n]^2;
Array[a, 16] (* Jean-François Alcover, Jan 15 2019 *)
PROG
(PARI) a(n) = ((2+n)*binomial(4*n, 2*n) - 2*n*binomial(2*n, n)^2)/2; \\ G. C. Greubel, Jun 26 2019
(Magma) [((2+n)*Binomial(4*n, 2*n) - 2*n*Binomial(2*n, n)^2)/2: n in [1..20]]; // G. C. Greubel, Jun 26 2019
(Sage) [((2+n)*binomial(4*n, 2*n) - 2*n*binomial(2*n, n)^2)/2 for n in (1..20)] # G. C. Greubel, Jun 26 2019
(GAP) List([1..20], n-> ((2+n)*Binomial(4*n, 2*n) - 2*n*Binomial(2*n, n)^2)/2) # G. C. Greubel, Jun 26 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Mar 21 2004
STATUS
approved