Method I:
Any number can be written in the form 5q+r where 0

r<5
n2+n+1 = n(n+1)+1 = (5q + r)(5q + r+1)+1
From this we can see that if n2+n+1 is to be divisible by 5, then so must r(r+1)+1 = r2+r+1.
It is easy to check for r =0,1,2,3,4 that the expression is not divisible by 5. Hence it is not divisible by 5 for any n.
Method II:
First eliminate the cases where n = 5k or 5k+1 using the above reasoning or by expanding.
So, assume that n is not of the form 5k or 5k+1
Now, consider n4-1 which is divisible by 5 for n prime to 5 by Fermat's theorem.
n4-1 = (n-1)(n3+n2+n+1). Since n is not of the form 5k+1, n-1 is not divisible by 5. This means that n3+n2+n+1 is divisible by 5.
Now, if n2+n+1 is divisible by 5, then n3+n2+n+1 is divisible by 5 if n3 is divisible by 5 which means n is divisible by 5 which contradicts our assumption that n is not divisible by 5.
Hence n2+n+1 cannot be divisible by 5 for any n.
So, now you can also answer the question: what is the probability that for a random number n, n3+n2+n+1 is divisible by 5?
Method III:
The result is obviously true for n = 5k.
Suppose n

5k
Let's assume that n2+n+1 is divisible by 5. Then (n2+n+1) (n2-n+1) = n4+n2+1 is also divisible by 5.
n4+n2+1 = (n4-1)+n2+2
(n4-1) is divisible by 5 by Fermat's theorem. Hence n2+2 is divisble by 5.
Hence n
2+2 = 5k or n
2 = 5k - 2, which is absurd as any square is of the form 5k, or 5k

1