Let n(n+2010)=k2 for some integer k.
We can write:
n(n+2010)=k2
n2+2010n−k2=0
This is a quadratic in n:
n2+2010n−k2=0
The discriminant must be a perfect square for n to be integer:
Δ=20102+4k2=m2
for some integer m.
So:
m2−4k2=20102
(m−2k)(m+2k)=20102
Let d be a positive divisor of 20102, and set:
m−2k=d,m+2k=d20102
Then:
m=2d+d20102=2d+20102/d
2k=m+2k−m=d20102−d
k=4d20102−d2
Now, n is given by the quadratic formula:
n=2−2010±m
So:
n=2−2010±2d+20102/d=2−2010±4d+20102/d
Thus, all integers n for which n(n+2010) is a perfect square are:
n=2−2010±4d+20102/d
where d is a positive divisor of 20102 such that d+20102/d is divisible by 4 (so n is integer).
Therefore, all such integers n are given by the above formula for all positive divisors d of 20102 with d+20102/d divisible by 4.