This is the differential element method in the geometric sense of definite integral!
Just remember this type when you do this kind of topic in the future.
The method is:
① Extract 1/n
② If i/n in the limit is changed to X, the limit is ∑ 1/( 1+x).
Where 1/( 1+x) is the integrand of definite integral, and the upper and lower bounds of the integral are fixed at (0, 1).