Mathematics seamless pattern n2