Cosmic Math