As answered by nadeemoidu
3n2=k(k+1)
3=k(k+1)/n2 ...........................................1
As k & k+1 have no common factors, either k or k+1 is divisible by n2
let k=xn2 for some integer x
so (1) comes to 3=x(xn2+1)
So either x=3 & xn2+1=1 OR x=1 & xn2+1=3 [as 3 is prime]
in both the cases n is not an integer
Hence k+1=xn2
substituting k+1 in (1) 3=x(xn2-1)
for x=1 and xn2-1=3 n2 =4, which is the only soln.
So 2+2sqrt(1+12n2)=16=42