n, differentiation and patterni