home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!gumby!wupost!udel!sbcs.sunysb.edu!hanche
- From: hanche@ams.sunysb.edu (Harald Hanche-Olsen)
- Subject: Re: 1+1/2+1/3+1/4+...+1/n
- In-Reply-To: Mutter Christoph Johannes's message of Thursday, 19 Nov 1992 13: 23:29 CET
- Message-ID: <HANCHE.92Nov19123151@ptolemy.ams.sunysb.edu>
- Sender: usenet@sbcs.sunysb.edu (Usenet poster)
- Nntp-Posting-Host: 129.49.6.37
- Organization: University at Stony Brook, NY
- References: <92324.132329K3032E2@ALIJKU11.BITNET>
- Date: Thu, 19 Nov 1992 17:31:51 GMT
- Lines: 21
-
- >>>>> On Thursday, 19 Nov 1992 13:23:29 CET, Mutter Christoph Johannes
- >>>>> <K3032E2@ALIJKU11.BITNET> said:
-
- Chris> Hallo.
- Chris> I've a problem. I have to calculate the sum 1+1/2+1/3+1/4+...+1/n.
- Chris> The result should be 100. But my computer is far too slow, to solve this
- Chris> problem. I need the index n when the sum > 100.0
- Chris> And that exactly.
- Chris> Has anyone calculated this? (Perhaps on a CRAY|) ?
-
- You won't find your answer by brute force on any present-day computer.
- Consider the fact that this sum is fairly close to log(n)+gamma for
- large n, where gamma is Euler's constant; it follows that the desired
- n is rather close to exp(100-gamma), which has the approximate value
- 15092688622113788323693563264538101449859497.364099... (according to
- Maple). Some finesse (asymptotic analysis) is clearly called for to
- get the exact answer. Hint: Estimate the area between the step
- function 1/[t] (where [t] is the largest integer <= t) and 1/t for t
- between n and infinity.
-
- - Harald
-