Due to 1 combinator subtraction, this build is limited to violet filter inserters with +0 or +1 stack capacity bonus. +2 or more gonna try to keep the ratios, but the numbers won't be exact.
Combinators with values
You can manually reset memory cell by cycling operator. 3 clicks would reset the cell.For inserters with stack bonus +0: AC, In: Each * (-3), Out: Each.
For inserters with stack bonus +1: AC, In: Each * (-2), Out: Each.
For inserters with stack bonus 2++ you need 2 AC connected sequentially. 1st: In: Each * (-1), Out: Each. 2nd: In: Each-2, Out: Each.
Blueprint string