First, we must rationalise the denominators. For the first fraction:
1/(√1 + √2)
= 1/(√2 + √1)
= (√2 - √1)/(√2 + √1)(√2 - √1)
(√2 + √1)(√2 - √1) = √2√2 - √1√2 + √1√2 - √1√1 = (√2)² - (√1)² = 2 - 1 = 1
= (√2 - √1)/1
= √2 - √1
For the second fraction:
1/(√2 + √3)
= 1/(√3 + √2)
= (√3 - √2)/(√3 + √2)(√3 - √2)
(√3 + √2)(√3 - √2) = √3√3 - √2√3 + √2√3 - √2√2 = (√3)² - (√2)² = 3 - 2 = 2
= (√3 - √2)/1
= √3 - √2
Notice that all denominators will be 1 since each surd in the denominator is one number apart.
This can be done for all fractions, and eventually it'll look like this:
(√2 - √1) + (√3 - √2) + (√4 - √3) + (√5 - √4) + ... + (√100 - √99)
= -√1 + (√2 - √2) + (√3 - √3) + (√4 - √4) + ... (√99 - √99) + √100
= √100 - √1
= 10 - 1
= 9
-----------------------------
It can be generalised:
1/(√1 + √2) + 1/(√2 + √3) + ... + 1/(√(n) + √(n+1))
The denominators will be one like last time.
By rationalising the denominators:
S = (√2 - √1) + (√3 - √2) + ... + (√(n) - √(n-1)) + (√(n+1) - √(n))
S = -√1 + (√2 - √2) + (√3 - √3) + ... + (√(n) - √(n)) + √(n+1)
S = √(n+1) - √1
S = √(n+1) - 1
(where S is the sum)
Therefore, to create a series that adds up to a value S, the number of terms can be found by rearranging the equation:
S+1 = √(n+1)
(S+1)² = n + 1
n = (S+1)² - 1
If we pick a positive integer value for S, S + 1 will also be an integer, and so will its square. Additionally, adding one to that will still give a positive integer. This means that given enough terms the series can add up to any positive whole number.
-----------------------------
It can be generalised further, by considering gaps larger than one between surds in the denominators.
For example:
1/(√1 + √3) + 1/(√3 + √5) has gaps of two
This changes things because now the denominator will be two:
(√3 + √1)(√3 - √1) = √3√3 - √1√3 + √1√3 √1√1 = (√3)² - (√1)² = 3 - 1 = 2
For the numerators, we wil get:
(√3 - √1) + (√5 - √3) = √5 - √1
So in total the sum will be
(√5 - 1)/2
Now this wasn't a rational number, because the last number (5) wasn't a square number, if we had reached up to 1/(√7 + √9), the sum would've been (√9 - 1)/2 = 1
So, for a series like the one in the questions with gaps of a:
nth = 1/(√(1+na) + √(1+(n+1)a))
If we add up the series up to the nth term, the numerators wil look like this:
(√(1+a) - √1) + (√(1+2a) - √(1+a)) + ... + (√(1+(n+1)a) - √(1+na))
All the surds will cancel out except for √1 and √(1+(n+1)a), leaving:
√(1+(n+1)a) - 1
When the gap between surds was 1, once rationalised the denominator became 1. When the gap was 2, the denominator was also two. So if the gap is a, the denominator will become a:
y = x + a
where a is a positive integer
(√y + √x)(√y - √x) = (√y)² - (√x)² = (√(x+a))² - (√x)² = (x + a) - x = a
Then, if we divide by a (the denominator), the sum will be:
S = (√(1+(n+1)a) - 1)/a
Lets check with a sum we know the value of, the one in the question. a = 1
√(1+(n+1)) = √100
1 + n +1 = 100
n = 98
S = (√(1+(98+1)*1) - 1)/1
S = (√100 - 1)/1
S = 9
This is the same as the answer we got manually.
If we try with the short sequence with gaps of two we used before:
a = 2
√5 = √(1+(n+1)*2)
5 = 1 + 2n + 2
2n = 2
n = 1
S = (√(1+(1+1)*2) - 1)/2
S = (√5 - 1)/2
Once again this agrees with what we worked out manually
If we solve for n:
S = (√(1+(n+1)a) - 1)/a
aS = √(1+(n+1)a) - 1
aS + 1 = √(1+(n+1)a)
(aS + 1)² = 1 + (n+1)a
(aS + 1)² - 1 = (n+1)a
a²S² + 2aS + 1 - 1 = (n+1)a
a²S² + 2aS = (n+1)a
aS² + 2S = n + 1
n = aS² + 2S - 1
Say we want the series to add up to 7:
n = a(7)² + 2(7) - 1
n = 49a + 13
n - 49a = 13
This can be plotted as a grap (in the x-y plane) and you can manually look for integer solutions. The easiest solution is when a = 1, ie our initial sequence (the one proposed in the question). Because the coefficient of n is 1, all integer values of a are solutions.