Get expert advice and community support on IDNLearn.com. Discover in-depth and trustworthy answers to all your questions from our experienced community members.

Find the largest positive integer $n$ such that
\[\frac{(n + 1)^2}{n + 2}\]
is an integer.