Αποστολή με SMS: Distribution theory of runs and patterns and its applications