A133371 Triangle read by rows: T(i,j) is the number of i-permutations of 14 objects a,b,c,d,e,f,g,h,i,j,k,l,m,n, with repetition allowed, containing j a's.
1, 13, 1, 169, 26, 1, 2197, 507, 39, 1, 28561, 8788, 1014, 52, 1, 371293, 142805, 21970, 1690, 65, 1, 4826809, 2227758, 428415, 43940, 2535, 78, 1, 62748517, 33787663, 7797153, 999635, 76895, 3549, 91, 1
Offset: 0
Examples
1 13, 1 169, 26, 1 2197, 507, 39, 1 28561, 8788, 1014, 52, 1 371293, 142805, 21970, 1690, 65, 1 4826809, 2227758, 428415, 43940, 2535, 78, 1 62748517, 33787663, 7797153, 999635, 76895, 3549, 91, 1
Programs
-
Maple
for i from 0 to 7 do seq(binomial(i, j)*13^(i-j), j = 0 .. i) od;
-
Mathematica
Flatten[Table[Binomial[i,j] 13^(i-j),{i,0,7},{j,0,i}]] (* Harvey P. Dale, Nov 01 2011 *)
Comments