A196846 Table of elementary symmetric functions a_k(1,2,5,6,...,n+2) (no 3,4).
1, 1, 1, 1, 3, 2, 1, 8, 17, 10, 1, 14, 65, 112, 60, 1, 21, 163, 567, 844, 420, 1, 29, 331, 1871, 5380, 7172, 3360, 1, 38, 592, 4850, 22219, 55592, 67908, 30240, 1, 48, 972, 10770, 70719, 277782, 623828, 709320, 302400, 1, 59, 1500, 21462, 189189, 1055691, 3679430, 7571428, 8104920, 3326400
Offset: 0
A196844 Table of the elementary symmetric functions a_k(1,2,3,4,6,...,n+1) (5 missing).
1, 1, 1, 1, 3, 2, 1, 6, 11, 6, 1, 10, 35, 50, 24, 1, 16, 95, 260, 324, 144, 1, 23, 207, 925, 2144, 2412, 1008, 1, 31, 391, 2581, 9544, 19564, 20304, 8064, 1, 40, 670, 6100, 32773, 105460, 196380, 190800, 72576, 1, 50, 1070, 12800, 93773, 433190, 1250980
Offset: 0
Comments
Examples
n\k 0 1 2 3 4 5 6 7 ... 0: 1 1: 1 1 2: 1 3 2 3: 1 6 11 6 4: 1 10 35 50 24 5: 1 16 95 260 324 144 6: 1 23 207 925 2144 2412 1008 7: 1 31 391 2581 9544 19564 20304 8064 ... a(4,0) = a_0(1, 2, 3, 4) := 1, a(4,1) = a_1(1, 2, 3, 4) = 10. a(5,2) = a_2(1, 2, 3, 4, 6) = 1*2 + 1*3 + 1*4 + 1*6 + 2*3 + 2*4 + 2*6 + 3*4 + 3*6 + 4*6 = 95. a(5,2) = 1*|s(7,5)| - 5*|s(7,6)| + 25*|s(7,7)| = 1*175 - 5*21 + 25*1 = 95.
Formula
a(n,k) = a_k(1, 2, ..., n) if 0 <= n < 5, and a_k(1, 2, 3, 4, 6, 7, ..., n+1) if n >= 5, with the elementary symmetric functions a_k defined in a comment to A196841.
a(n,k) = 0 if n < k, a(n,k) = |s(n+1, n+1-k)| if 0 <= n < 5, and
a(n,k) = sum((-5)^m*|s(n+2, n+2-k+m)|, m = 0..k) if n >= 5, with the Stirling numbers of the first kind s(n,m)=A048994(n,m).
Comments
Examples
Crossrefs
Formula