The requirement that a and b be relatively prime is crucial: if a and b share a common factor k, we can write a = k*c, b=k*d. Then an+b = kcn+kd=k(cn+d) If k is not equal to 1, then this has two factors unless cn+d = 1, so n=0 and d=1. The case n=0 corresponds to the first term, and so only the first term of such a sequence may be prime. For example, the arithmetic sequence of integers of the form 12k+2 contains only even numbers, and thus no primes except 2. | The requirement that a and b be relatively prime is crucial: if a and b share a common factor k, we can write a = k*c, b=k*d. Then an+b = kcn+kd=k(cn+d) If k is not equal to 1, then this has two factors unless cn+d = 1, so n=0 and d=1. The case n=0 corresponds to the first term, and so only the first term of such a sequence may be prime. For example, the arithmetic sequence of integers of the form 12k+2 contains only even numbers, and thus no primes except 2. |