The sum of the first three terms of an arithmetic sequence is an integer. The sum of the next four terms of the arithmetic sequence is also an integer. Find the smallest positive integer n such that the sum of any n consecutive terms must be an integer.