Trolling IMO Problems: 1

Level pending

How many integers $$n$$ are there such that $$1\le n<1000$$ and $$7\mid 2^n+1$$?

×