repeated integer problem