Math And Pattern Recognition