Arithmetic Hats