<s>[INST] I would like to know how to calculate the population size of a species using the mark-release-recapture method.

The mark-release-recapture (MRR) method is a non-invasive technique used to estimate the population size of a species. Here is a short description of the method.  

Population is surveyed, and a subset of individuals are captured and marked. These individuals are released back into the population.  After some time, a second survey of the population is conducted, and the number of marked individuals that are recaptured is recorded.

Can you write a formula to solve this?[/INST]