Mining frequent sequences in one database scan using distributed computers