OFFSET
3,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 3..1000
FORMULA
Conjectures from Colin Barker, Dec 11 2018: (Start)
G.f.: x^3*(1 + 3*x + 5*x^2) / ((1 - x)^2*(1 + x)*(1 + x + x^2)).
a(n) = a(n-2) + a(n-3) - a(n-5) for n>7.
(End)
EXAMPLE
From Gus Wiseman, Nov 11 2020: (Start)
Also the number of 3-part non-strict compositions of n. For example, the a(3) = 1 through a(11) = 15 triples are:
111 112 113 114 115 116 117 118 119
121 122 141 133 161 144 181 155
211 131 222 151 224 171 226 191
212 411 223 233 225 244 227
221 232 242 252 262 272
311 313 323 333 334 335
322 332 414 343 344
331 422 441 424 353
511 611 522 433 434
711 442 443
622 515
811 533
551
722
911
(End)
MATHEMATICA
Table[Length[Join@@Permutations/@Select[IntegerPartitions[n, {3}], !UnsameQ@@#&]], {n, 0, 100}] (* Gus Wiseman, Nov 11 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Nov 18 2018
STATUS
approved