OFFSET
0,2
COMMENTS
A022166 is the triangle of Gaussian binomial coefficients [n,k] for q = 2.
MATHEMATICA
max = 20; M = Table[QBinomial[n, k, 2], {n, 0, max}, {k, 0, max}] // Inverse; Table[M[[n, (n+1)/2]], {n, 1, max+1, 2}] (* Jean-François Alcover, Apr 09 2016 *)
Table[(-1)^n 2^((n-1)n/2) QBinomial[2n, n, 2], {n, 0, 20}] (* Vladimir Reshetnikov, Sep 16 2016 *)
PROG
(PARI) a(n)=local(q=2, A=matrix(2*n+1, 2*n+1, n, k, if(n>=k, if(n==1 || k==1, 1, prod(j=n-k+1, n-1, 1-q^j)/prod(j=1, k-1, 1-q^j))))^-1); A[2*n+1, n+1]
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Dec 08 2007
STATUS
approved