OFFSET
1,5
FORMULA
a(n) = Sum_{j=1..floor(n/3)} Sum_{i=j..floor((n-j)/2)} sign(c(n/j) + c(n/i) + c(n/(n-i-j))), where c(n) = 1 - ceiling(n) + floor(n).
EXAMPLE
a(6) = 3; [1,1,4], [1,2,3], [2,2,2];
a(7) = 3; [5,1,1], [4,2,1], [3,3,1];
a(8) = 5; [6,1,1], [5,2,1], [4,3,1], [3,2,2], [3,3,2];
a(12) = 12; [10,1,1], [9,2,1], [8,3,1], [7,4,1], [6,5,1], [8,2,2], [7,3,2], [6,4,2], [5,5,2], [6,3,3], [5,4,3], [4,4,4].
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 08 2021
STATUS
approved