Repeat patterns n2