OFFSET
1,11
FORMULA
a(n) = Sum_{j=1..floor(n/3)} Sum_{i=j..floor((n-j)/2)} (1 - sign(c(i/j) + c((n-i-j)/j) + c((n-i-j)/i))), where c(n) = 1 - ceiling(n) + floor(n).
EXAMPLE
a(10) = 1; [4,3,3];
a(11) = 5; [7,2,2], [6,3,2], [5,4,2], [5,3,3], [4,4,3];
a(12) = 0; (Every partition of 12 into 3 parts contains at least one part that divides 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].);
a(13) = 8; [9,2,2], [8,3,2], [7,4,2], [6,5,2], [7,3,3], [6,4,3], [5,5,3], [5,4,4].
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 08 2021
STATUS
approved