Supplement from Reciprocal mimicry: kin selection can drive defended prey to resemble their Batesian mimics

Calculation of mathematical results.