Fairly often I find use for replacement rules that call themselves on the right-hand side of the rule, e.g.: ...
I have a function num with two variables, matf and matg. How can I combine the last two lines of code below into one? The code is aimed to find out the maxiaml count bel when we give each $i3 = ...