Triangle read by rows: T(n,k) (n>=1, 3<=k<=n+2) is the number of k-sequences of balls colored with at most n colors such that exactly three balls are the same color as some other ball in the sequence.

A292930

Triangle read by rows: T(n,k) (n>=1, 3<=k<=n+2) is the number of k-sequences of balls colored with at most n colors such that exactly three balls are the same color as some other ball in the sequence.

Terms

    a(0) =1a(1) =2a(2) =8a(3) =3a(4) =24a(5) =60a(6) =4a(7) =48a(8) =240a(9) =480a(10) =5a(11) =80a(12) =600a(13) =2400a(14) =4200a(15) =6a(16) =120a(17) =1200a(18) =7200a(19) =25200a(20) =40320a(21) =7a(22) =168a(23) =2100a(24) =16800a(25) =88200a(26) =282240a(27) =423360a(28) =8a(29) =224

External references