I just ran this independently for n=2017; confirmed that this number is in fact prime! So an is composite for 4≤n≤2016