Question 1202574
b, Blues count
p, purples count
k, variation constant


{{{b=k/p^3}}}
You figure out the rest.