Exact formula of the spectrum of the pseudoscalar octet