cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A171890 Octonomial coefficient array.

This page as a plain text file.
%I A171890 #20 Jan 26 2021 10:27:50
%S A171890 1,1,1,1,1,1,1,1,1,1,2,3,4,5,6,7,8,7,6,5,4,3,2,1,1,3,6,10,15,21,28,36,
%T A171890 42,46,48,48,46,42,36,28,21,15,10,6,3,1,1,4,10,20,35,56,84,120,161,
%U A171890 204,246,284,315,336,344,336,315,284,246,204,161,120,84,56,35
%N A171890 Octonomial coefficient array.
%C A171890 Row lengths are 1,8,15,22,... = 1+7n = A016993(n). Row sums are 1,8,64,... = 8^n = A001018(n). _M. F. Hasler_, Jun 17 2012
%H A171890 T. D. Noe, <a href="/A171890/b171890.txt">Rows n = 0..25, flattened</a>
%F A171890 Row n has g.f. (1+x+...+x^7)^n.
%F A171890 T(n,k) = sum {i = 0..floor(k/8)} (-1)^i*binomial(n,i)*binomial(n+k-1-8*i,n-1) for n >= 0 and 0 <= k <= 7*n. - _Peter Bala_, Sep 07 2013
%e A171890 Array begins:
%e A171890 [1]
%e A171890 [1, 1, 1, 1, 1, 1, 1, 1]
%e A171890 [1, 2, 3, 4, 5, 6, 7, 8, 7, 6, 5, 4, 3, 2, 1]
%e A171890 ...
%p A171890 #Define the r-nomial coefficients for r = 1, 2, 3, ...
%p A171890 rnomial := (r,n,k) -> add((-1)^i*binomial(n,i)*binomial(n+k-1-r*i,n-1), i = 0..floor(k/r)):
%p A171890 #Display the 8-nomials as a table
%p A171890 r := 8:  rows := 10:
%p A171890 for n from 0 to rows do
%p A171890 seq(rnomial(r,n,k), k = 0..(r-1)*n)
%p A171890 end do;
%p A171890 # _Peter Bala_, Sep 07 2013
%t A171890 Flatten[Table[CoefficientList[(1 + x + x^2 + x^3 + x^4 + x^5 + x^6 + x^7)^n, x], {n, 0, 10}]] (* _T. D. Noe_, Apr 04 2011 *)
%o A171890 (PARI) concat(vector(5, k, Vec(sum(j=0, 7, x^j)^k)))  \\ _M. F. Hasler_, Jun 17 2012
%Y A171890 The q-nomial arrays are for q=2..10: A007318 (Pascal), A027907, A008287,A035343, A063260, A063265, A171890, A213652, A213651.
%K A171890 nonn,tabf
%O A171890 0,11
%A A171890 _N. J. A. Sloane_, Oct 19 2010