AMC 10B/12B 2026 (Problem 6/4)

For how many integers nn is
n2−1n+2\frac{n^2-1}{n+2}
also an integer?
(A) 22   (B) 33   (C) 44   (D) 66   (E) infinitely many