# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a022181 Showing 1-1 of 1 %I A022181 #10 May 29 2018 16:45:11 %S A022181 1,1,1,1,18,1,1,307,307,1,1,5220,89030,5220,1,1,88741,25734890, %T A022181 25734890,88741,1,1,1508598,7437471951,126461249460,7437471951, %U A022181 1508598,1,1,25646167,2149430902437,621311556068931,621311556068931 %N A022181 Triangle of Gaussian binomial coefficients [ n,k ] for q = 17. %D A022181 F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, Elsevier-North Holland, 1978, p. 698. %H A022181 G. C. Greubel, Rows n=0..50 of triangle, flattened %H A022181 Kent E. Morrison, Integer Sequences and Matrices Over Finite Fields, Journal of Integer Sequences, Vol. 9 (2006), Article 06.2.1. %F A022181 T(n,k) = T(n-1,k-1) + q^k * T(n-1,k), with q=17. - _G. C. Greubel_, May 28 2018 %t A022181 Table[QBinomial[n,k,17], {n,0,10}, {k,0,n}]//Flatten (* or *) q:= 17; T[n_, 0]:= 1; T[n_,n_]:= 1; T[n_,k_]:= T[n,k] = If[k < 0 || n < k, 0, T[n-1, k -1] +q^k*T[n-1,k]]; Table[T[n,k], {n,0,10}, {k,0,n}] // Flatten (* _G. C. Greubel_, May 28 2018 *) %o A022181 (PARI) {q=17; T(n,k) = if(k==0,1, if (k==n, 1, if (k<0 || n