A138386 The initial values of the m-th row of table T of A137918 as m tends to infinity.
1, 2, 8, 27, 94, 315, 1067, 3545, 11767, 38747, 127061, 414551, 1347442, 4362616, 14078612, 45290929, 145291501, 464864831, 1483759703, 4725204487, 15016441266, 47627848083, 150784504858, 476543143817, 1503631824859
Offset: 0
Keywords
Examples
Choosing j = 5 we use p(5) or 7 partitions. The largest part appearing in those partitions is 8, so we need the first 6 values of A001429, given by ...i..|3.4..5...6...7...8 ------+------------------ f(i)..|1.2..5..13..33..89 Using the program GAP, the partitions produced by the command "RestrictedPartitions(20, [3..8], 5);" are: [ [ 4, 4, 4, 4, 4 ], [ 5, 4, 4, 4, 3 ], [ 5, 5, 4, 3, 3 ], [ 6, 4, 4, 3, 3 ], [ 6, 5, 3, 3, 3 ], [ 7, 4, 3, 3, 3 ], [ 8, 3, 3, 3, 3 ] ] Eliminating parts 3 from those partitions, below we give them in the form 4K_4 +...+ nK_n followed by the corresponding number of graphs: 4*5 -> C(2+5-1, 5) = 6 5 + 4*3 -> 5C(2+3-1, 3) = 20 5*2 + 4 -> 2C(5+2-1, 2) = 30 6 + 4*2 -> 13C(2+2-1, 2) = 39 6 + 5 -> 13 * 5 = 65 7 + 4 -> 33 * 2 = 66 8 -> 89 So a(5) = 6 + 20 + 30 + 39 + 65 + 66 + 89 = 315. T(333332, 10^6+1) = a(5) = 315. Note that j = 5 and m = 333332 gives 3m+j = 10^6+1.
Links
- D. E. Knuth, The Art of Computer Programming, Vol. 4, Pre-Fascicle 3b, see p. 9.
Formula
a(0) = 1; for j >= 1, a(j) = Sum over the partitions 3K_3 + ... + nK_n of n = 4j with exactly j parts of pi{4 <= i <= n} C(f(i) + K_i - 1, K_i), where f(i) is A001429(i).
Euler transform of 2, 5, 13, 33, ... (A001429). - Vladeta Jovovic, Sep 17 2008
Comments