To show it less than 3, we let bn=n6−2017, n=0,1,2,…, and prove that
gcd(bn−1,bn,bn+1)={17if n≡0,±1(mod7),if n≡±2,±3(mod7).
Fix an index n, and let d be a positive integer dividing bn−1,bn and bn+1. Since at least one of bn−1,bn,bn+1 is odd, so is d. The numbers bn+1−2bn+bn−1=2(15n4+15n2+1) and bn+1−bn−1=4n(3n4+10n2+3) are both divisible by d. Since d is odd, it divides 15n4+15n2+1, so d is coprime to n, hence it divides 3n4+10n2+3 as well. Write 7⋅(5n2+2)=5⋅(3n4+10n2+3)−(15n4+15n2+1) to infer that 7⋅(5n2+2) is divisible by d. Since 3⋅(5n2+2)(5n2+3)=5⋅(15n4+15n2+1)+13, it follows that d is one of 1,7,13,7⋅13. To conclude the proof, notice that no bk is divisible by 13.