Oh, what the hell. Here are the distances traveled for each round trip the bird makes. Although this series is infinite, after 23 terms it converges to the answer to six decimal places. The first round trip is 71 3/7 miles. Each trip is 3/7 the length of the previous trip. Therefore, the total distance the bird flies is 71 3/7 * SUM(n=0 to infinity, (3/7)^n). The infinite sum is a geometric series that sums to 7/4 (sum = 1/(1-r), r = 3/7). 71 3/7 * 7/4 = 125.
Code:Remaining Distance Man Distance Bird
Distance Walks Before Flies From Man
For Man Bird Returns To City To Man
--------- ------------ --------------
50.000000 28.571429 71.428571
21.428571 12.244898 30.612245
9.183673 5.247813 13.119534
3.935860 2.249063 5.622657
1.686797 0.963884 2.409710
0.722913 0.413093 1.032733
0.309820 0.177040 0.442600
0.132780 0.075874 0.189686
0.056906 0.032518 0.081294
0.024388 0.013936 0.034840
0.010452 0.005973 0.014932
0.004479 0.002560 0.006399
0.001920 0.001097 0.002743
0.000823 0.000470 0.001175
0.000353 0.000201 0.000504
0.000151 0.000086 0.000216
0.000065 0.000037 0.000093
0.000028 0.000016 0.000040
0.000012 0.000007 0.000017
0.000005 0.000003 0.000007
0.000002 0.000001 0.000003
0.000001 0.000001 0.000001
0.000000 0.000000 0.000001
--------- ----------
Total 50.000000 125.000000