Exact ground state of finite Bose-Einstein condensates on a ring (14 pages)