Let n≥2n \geq 2n≥2 be an integer. Determine the number of positive integers mmm such that m≤nm \leq nm≤n and m2+1m^2 + 1m2+1 is divisible by nnn.