# Thrice Composite... When is it Prime?

Level pending

Evan noticed that when $$n=2, 3,$$, and $$4$$, the expression $$n^5+n^4+1$$ was composite. Given this information, find the number of positive integers $$n\le 1000$$ such that $$n^5+n^4+1$$ is prime.

×