OFFSET
0,3
COMMENTS
This sequence counts partially ordered partitions of (n) into parts (1,2,3,4) in which the position (order) of the 4's are unimportant. For example the permutations of (43421) are counted as permutations of (321)=6.
LINKS
FORMULA
a(n)= a(n-1) + a(n-2) + a(n-3) + a(n-4) - a(n-5) - a(n-6) - a(n-7).
G.f.: 1 / ((x-1)*(x+1)*(x^2+1)*(x^3+x^2+x-1)). - Colin Barker, May 17 2015
EXAMPLE
a(6)=26; these are (42=24),(411=141=114),(33),(321=six),(3111=four),(222),(2211=six),(21111=five),(111111).
PROG
(PARI) Vec(1 / ((x-1)*(x+1)*(x^2+1)*(x^3+x^2+x-1)) + O(x^100)) \\ Colin Barker, May 17 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
David Neil McGrath, May 13 2015
EXTENSIONS
Missing term (6320) inserted by Colin Barker, May 17 2015
STATUS
approved