Animal learning and recognition Genetics, evolution, and population dynamics mathematics