will now print a repeating sequence for maxRep digits