Define Pattern In Math