A244718 Number of compositions of n with exactly 6 transitions between different parts.
1, 8, 52, 225, 813, 2444, 6563, 15837, 35304, 73544, 144542, 270622, 485229, 838813, 1401911, 2277346, 3601229, 5565741, 8415746, 12487185, 18197114, 26097804, 36868409, 51383060, 70693900, 96130946, 129286606, 172104111, 226920654, 296516361, 384211698
Offset: 10
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 10..900
Crossrefs
Column k=6 of A238279.
Programs
-
Maple
b:= proc(n, v) option remember; `if`(n=0, [1, 0$6], add(`if`(v in [0, i], b(n-i, `if`(i<=n-i, i, -1)), [0, b(n-i, `if`(i<=n-i, i, -1))[1..6][]]), i=1..n)) end: a:= n-> b(n, 0)[7]: seq(a(n), n=10..60);