The Mathematics of Tribal Coins