Discrepancy of a sequence