MathCastle
Number TheorySuperchallengeThe Chinese Remainder Theorem

The Chinese Remainder Theorem · Superchallenge problem

How many integers nn with 1≤n≤300301 \le n \le 30030 have all three of nn, n+2n + 2 and n+6n + 6 relatively prime to 30030=2⋅3⋅5⋅7⋅11⋅1330030 = 2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot 13?