Invia SMS: Mathematics of genetic diversity