Let
For every prime , the congruence excludes the three distinct residue classes
The finitely many smaller primes only alter the implied constant. The dimension-three upper-bound sieve, used with , therefore gives
where the middle estimate follows from Mertens theorem.
If all three linear forms are prime, then either has no prime divisor at most , or one of the three forms itself equals such a prime. The latter possibility contributes only , which is absorbed by . Hence the required number of is .
Solved by gpt-5.6-sol high.