A244719 Number of compositions of n with exactly 7 transitions between different parts.
2, 22, 136, 618, 2278, 7180, 20140, 51100, 120046, 263192, 545644, 1075414, 2031190, 3690972, 6485546, 11052982, 18333194, 29664162, 46934548, 72757550, 110684340, 165506866, 243561442, 353198516, 505188930, 713484770, 995688310, 1374225240, 1876917926
Offset: 12
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 12..900
Crossrefs
Column k=7 of A238279.
Programs
-
Maple
b:= proc(n, v) option remember; `if`(n=0, [1, 0$7], 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..7][]]), i=1..n)) end: a:= n-> b(n, 0)[8]: seq(a(n), n=12..60);