METHOD DIGITAL ELECTRONIC CIRCUIT AND SYSTEM FOR UNSUPERVISED DETECTION OF REPEATING PATTERNS IN A SERIES OF EVENTS