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 A131113 #25 Sep 08 2022 08:45:30 %S A131113 1,5,1,5,10,1,5,15,15,1,5,20,30,20,1,5,25,50,50,25,1,5,30,75,100,75, %T A131113 30,1,5,35,105,175,175,105,35,1,5,40,140,280,350,280,140,40,1,5,45, %U A131113 180,420,630,630,420,180,45,1 %N A131113 T(n,k) = 5*binomial(n,k) - 4*I(n,k), where I is the identity matrix; triangle T read by rows (n >= 0 and 0 <= k <= n). %C A131113 Row sums = A048487: (1, 6, 16, 36, 76, 156, ...). %H A131113 G. C. Greubel, <a href="/A131113/b131113.txt">Rows n = 0..100 of triangle, flattened</a> %F A131113 T(n,k) = 5*A007318(n,k) - 4*I(n,k), where A007318 = Pascal's triangle and I = Identity matrix. %F A131113 Bivariate o.g.f.: Sum_{n,k>=0} T(n,k)*x^n*y^k = (1 + 4*x - x*y)/((1 - x*y)*(1 - x - x*y)). - _Petros Hadjicostas_, Feb 20 2021 %e A131113 Triangle T(n,k) (with rows n >= 0 and columns k = 0..n) begins: %e A131113 1; %e A131113 5, 1; %e A131113 5, 10, 1; %e A131113 5, 15, 15, 1; %e A131113 5, 20, 30, 20, 1; %e A131113 5, 25, 50, 50, 25, 1; %e A131113 5, 30, 75, 100, 75, 30, 1; %e A131113 ... %p A131113 seq(seq(`if`(k=n, 1, 5*binomial(n,k)), k=0..n), n=0..10); # _G. C. Greubel_, Nov 18 2019 %t A131113 Table[If[k==n, 1, 5*Binomial[n, k]], {n,0,10}, {k,0,n}]//Flatten (* _G. C. Greubel_, Nov 18 2019 *) %o A131113 (PARI) T(n,k) = if(k==n, 1, 5*binomial(n,k)); \\ _G. C. Greubel_, Nov 18 2019 %o A131113 (Magma) [k eq n select 1 else 5*Binomial(n,k): k in [0..n], n in [0..10]]; // _G. C. Greubel_, Nov 18 2019 %o A131113 (Sage) %o A131113 def T(n, k): %o A131113 if k == n: return 1 %o A131113 else: return 5*binomial(n, k) %o A131113 [[T(n, k) for k in (0..n)] for n in (0..10)] %o A131113 # _G. C. Greubel_, Nov 18 2019 %o A131113 (GAP) %o A131113 T:= function(n,k) %o A131113 if k=n then return 1; %o A131113 else return 5*Binomial(n,k); %o A131113 fi; end; %o A131113 Flat(List([0..10], n-> List([0..n], k-> T(n,k) ))); # _G. C. Greubel_, Nov 18 2019 %Y A131113 Cf. A007318, A048487, A131110, A131112, A131114, A131115. %K A131113 nonn,tabl,easy,less %O A131113 0,2 %A A131113 _Gary W. Adamson_, Jun 15 2007