# sum of the inverses

Not what you're looking for? Search our solutions OR ask your own Custom question.

In real arithmetic, the sum of the inverses of all positive integers goes to infinity. In other words, if we take enough terms in the sum the sum exceeds any fixed value.

However, when we compute the sum in Java's floating point arithmetic the largest value we get is 15.403683, regardless of how many terms we add. Explain the possible reasons for this anomaly.

https://brainmass.com/computer-science/java/sum-inverses-3150

#### Solution Preview

The two acceptable answers were:

- 1/n becomes so small relative to the ...

#### Solution Summary

The sum of the inverses is explained.

$2.49