%I #57 Sep 30 2024 12:41:48
%S 1,1,1,1,2,1,1,3,3,1,1,4,6,4,1,1,5,10,10,5,1,1,6,15,19,15,6,1,1,7,21,
%T 31,31,21,7,1,1,8,28,46,53,46,28,8,1,1,9,36,64,81,81,64,36,9,1,1,10,
%U 45,85,115,126,115,85,45,10,1,1,11,55,109,155,181,181,155,109,55,11,1
%N Iterated rascal triangle R2: T(n,k) = Sum_{m=0..2} binomial(n-k,m)*binomial(k,m).
%C Triangle T(n,k) is the second triangle R2 among the rascal-family triangles; A374452 is triangle R3; A077028 is triangle R1.
%C Triangle T(n,k) equals Pascal's triangle A007318 through row 2i+1, i=2 (i.e., row 5).
%C Triangle T(n,k) equals Pascal's triangle A007318 through column i, i=2 (i.e., column 2).
%H Kolosov Petro, <a href="/A374378/b374378.txt">Table of n, a(n) for n = 0..1325</a>
%H Amelia Gibbs and Brian K. Miceli, <a href="https://arxiv.org/abs/2405.11045">Two Combinatorial Interpretations of Rascal Numbers</a>, arXiv:2405.11045 [math.CO], 2024.
%H Jena Gregory, Brandt Kronholm, and Jacob White, <a href="https://doi.org/10.1007/s00010-023-00987-6">Iterated rascal triangles</a>, Aequationes mathematicae, 2023.
%H Jena Gregory, <a href="https://scholarworks.utrgv.edu/etd/1050/">Iterated rascal triangles</a>, Theses and Dissertations. 1050., The University of Texas Rio Grande Valley, 2022.
%H Philip K. Hotchkiss, <a href="https://arxiv.org/abs/1907.07749">Student Inquiry and the Rascal Triangle</a>, arXiv:1907.07749 [math.HO], 2019.
%H Philip K. Hotchkiss, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL23/Hotchkiss/hotchkiss4.html">Generalized Rascal Triangles</a>, Journal of Integer Sequences, Vol. 23, 2020.
%H Petro Kolosov, <a href="https://kolosovpetro.github.io/pdf/IdentitiesInRascalTriangle.pdf">Identities in Iterated Rascal Triangles</a>, 2024.
%F T(n,k) = 1 + k*(n-k) + (1/4)*(k-1)*k*(n-k-1)*(n-k).
%F Row sums give A006261(n).
%F Diagonal T(n+1, n) gives A000027(n).
%F Diagonal T(n+2, n) gives A000217(n).
%F Diagonal T(n+3, n) gives A005448(n).
%F Diagonal T(n+4, n) gives A056108(n).
%F Diagonal T(n+5, n) gives A212656(n).
%F Column k=3 difference binomial(n+6, 3) - T(n+6, 3) gives C(n+3,3)=A007318(n+3,3).
%F Column k=4 difference binomial(n+7, 4) - T(n+7, 4) gives fifth column of (1,4)-Pascal triangle A095667.
%F G.f.: (1 + 3*x^4*y^2 - (2*x + 3*x^3*y)*(1 + y) + x^2*(1 + 5*y + y^2))/((1 - x)^3*(1 - x*y)^3). - _Stefano Spezia_, Jul 09 2024
%e Triangle begins:
%e --------------------------------------------------
%e k= 0 1 2 3 4 5 6 7 8 9 10
%e --------------------------------------------------
%e n=0: 1
%e n=1: 1 1
%e n=2: 1 2 1
%e n=3: 1 3 3 1
%e n=4: 1 4 6 4 1
%e n=5: 1 5 10 10 5 1
%e n=6: 1 6 15 19 15 6 1
%e n=7: 1 7 21 31 31 21 7 1
%e n=8: 1 8 28 46 53 46 28 8 1
%e n=9: 1 9 36 64 81 81 64 36 9 1
%e n=10: 1 10 45 85 115 126 115 85 45 10 1
%t t[n_, k_]:=Sum[Binomial[n - k, m]*Binomial[k, m], {m, 0, 2}]; Column[Table[t[n, k], {n, 0, 12}, {k, 0, n}], Center]
%Y Cf. A077028, A007318, A000027, A000217, A005448, A056108, A212656, A000292, A095667, A095666, A006261.
%K nonn,tabl
%O 0,5
%A _Kolosov Petro_, Jul 06 2024