The Mathematics of Garlic