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.
%I A128710 #21 Jan 11 2025 11:54:58 %S A128710 2,2,3,2,6,4,2,9,12,5,2,12,24,20,6,2,15,40,50,30,7,2,18,60,100,90,42, %T A128710 8,2,21,84,175,210,147,56,9,2,24,112,280,420,392,224,72,10,2,27,144, %U A128710 420,756,882,672,324,90,11,2,30,180,600,1260,1764,1680,1080,450,110,12,2,33 %N A128710 Triangle read by rows: T(n,k) = (k+2)*binomial(n,k) (0 <= k <= n). %C A128710 k*binomial(n-4, k-2) counts the permutations in S_n which have zero occurrences of the pattern 213 and one occurrence of the pattern 132 and k descents. %C A128710 Sum of row n =(n+4)*2^(n-1) (A045623). - _Emeric Deutsch_, Apr 02 2007 %C A128710 Essentially the same as A127954: obtained by dropping the first row of A127954. - _Peter Bala_, Mar 05 2013 %D A128710 D. Hök, Parvisa mönster i permutationer [Swedish], (2007). %F A128710 G.f.: (2 - t*(2+x))/(1 - t*(1+x))^2 = 2 + (2+3*x)*t + (2+6*x+4*x^2)*t^2 + .... - _Peter Bala_, Mar 05 2013 %F A128710 Row n is the vector of polynomial coefficients of (2 + (n+2)*x)*(1+x)^(n-1). - _Peter Bala_, Mar 05 2013 %e A128710 Triangle starts: %e A128710 2; %e A128710 2, 3; %e A128710 2, 6, 4; %e A128710 2, 9, 12, 5; %e A128710 2, 12, 24, 20, 6; %p A128710 T:=(n,k)->(k+2)*binomial(n,k): for n from 0 to 11 do seq(T(n,k),k=0..n) od; # yields sequence in triangular form. - _Emeric Deutsch_, Apr 02 2007 %t A128710 T[n_,k_]:=(k+2)*Binomial[n,k];Table[T[n,k],{n,0,10},{k,0,n}]//Flatten (* _James C. McMahon_, Jan 11 2025 *) %Y A128710 Cf. A045623, A127954. %K A128710 nonn,tabl %O A128710 0,1 %A A128710 David Hoek (david.hok(AT)telia.com), Mar 23 2007 %E A128710 Edited by _Emeric Deutsch_, Apr 02 2007