Lost on Ch.2 transitions

Is there a formula for which transition should be next and why is the states beginning with N other than NNNN being skipped? Help me understand please.