Output pattern numbers and phase