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 A103406 #40 Jul 02 2025 16:02:02 %S A103406 1,1,2,1,4,3,1,6,9,4,1,8,18,16,5,1,10,30,40,25,6,1,12,45,80,75,36,7,1, %T A103406 14,63,140,175,126,49,8,1,16,84,224,350,336,196,64,9,1,18,108,336,630, %U A103406 756,588,288,81,10,1,20,135,480,1050,1512,1470,960,405,100,11,1,22,165 %N A103406 Triangle read by rows: n-th row = unsigned coefficients of the characteristic polynomials of an n X n matrix with 2's on the diagonal and 1's elsewhere. %C A103406 This triangle * [1/1, 1/2, 1/3, ...] = (1, 2, 4, 8, 16, 32, ...). - _Gary W. Adamson_, Nov 15 2007 %C A103406 Triangle read by rows: T(n,k) = (k+1)*binomial(n,k), 0 <= k <= n. - _Philippe Deléham_, Apr 20 2009 %H A103406 Vincenzo Librandi, <a href="/A103406/b103406.txt">Rows n = 0..100, flattened</a> %F A103406 Binomial transform of A127648. - _Gary W. Adamson_, Nov 15 2007 %F A103406 Equals A128064 * A007318. - _Gary W. Adamson_, Jan 03 2008 %F A103406 T(n,k) = (k+1)*A007318(n,k). - _Philippe Deléham_, Apr 20 2009 %F A103406 T(n,k) = Sum_{i=1..k+1} i*binomial(k+1,i)*binomial(n-k,k+1-i). - _Mircea Merca_, Apr 11 2012 %F A103406 O.g.f.: (1 - y)/(1 - y - x*y)^2 = 1 + (1 + 2*x)*y + (1 + 4*x + 3*x*2)*y^2 + .... - _Peter Bala_, Oct 18 2023 %e A103406 Characteristic polynomial of 3 X 3 matrix [2 1 1 / 1 2 1 / 1 1 2] = x^3 - 6x^2 + 9x - 4. %e A103406 The first few characteristic polynomials are: %e A103406 1 %e A103406 x - 2 %e A103406 x^2 - 4x + 3 %e A103406 x^3 - 6x^2 + 9x - 4 %e A103406 x^4 - 8x^3 + 18x^2 - 16x + 5 %p A103406 with(linalg): printf(`%d,`,1): for n from 1 to 15 do mymat:=array(1..n, 1..n): for i from 1 to n do for j from 1 to n do if i=j then mymat[i,j]:=2 else mymat[i,j]:=1 fi: od: od: temp:=charpoly(mymat,x): for j from n to 0 by -1 do printf(`%d,`,abs(coeff(temp, x, j))) od: od: # _James Sellers_, Apr 22 2005 %p A103406 p := (n,x) -> (x+1)^(n-1)+(x+1)^(n-2)*(n-1); %p A103406 seq(seq(coeff(p(n,x),x,n-j-1),j=0..n-1),n=1..11); # _Peter Luschny_, Feb 25 2014 %t A103406 t[n_, k_] := (k+1)*Binomial[n, k]; Table[t[n, k], {n, 0, 11}, {k, 0, n}] // Flatten (* _Jean-François Alcover_, Oct 09 2012, after _Philippe Deléham_ *) %Y A103406 Row sums = A001792: 1, 3, 8, 20, 48, 112, ... %Y A103406 See A103283 for the mirror image. %Y A103406 Cf. A093375, A127648, A128064. %K A103406 nonn,tabl %O A103406 0,3 %A A103406 _Gary W. Adamson_, Feb 04 2005 %E A103406 More terms from _James Sellers_, Apr 22 2005