P(n)=8-|6-n| with n=1..12