Mathematical seamless pattern