# Divisible by Seven

How many integers exist in the interval $$0 < n < 1000$$, such that $$1^n + 2^n + 4^n$$ is divisible by 7?

×