The arithmetic of aromaticity