there exists positive integer
=> n+2 must be a perfect square
minimum possible value such that n+2 is a perfect square is 2 and maximum value is
There are 30 values of n. Since m is dependent on n, therefore, we only need to find n.
smallest value of
and largest is
==There are 30 values for n such that n+2 is a perfect square., ==