Mock AIME 2 2006-2007 Problems/Problem 2

Revision as of 16:19, 24 July 2006 by 4everwise (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

The set $\displaystyle S$ consists of all integers from $\displaystyle 1$ to $\displaystyle 2007,$ inclusive. For how many elements $\displaystyle n$ in $\displaystyle S$ is $\displaystyle f(n) = \frac{2n^3+n^2-n-2}{n^2-1}$ an integer?