Prime Generating Function

Find the smallest positive integer $$n$$ for which the function $$f(n)=n^2+n+41$$ is composite.

×