[VA] SRC#001 - Spiky Integral
|
07-19-2018, 12:27 AM
Post: #33
|
|||
|
|||
RE: [VA] SRC#001 - Spiky Integral
(07-18-2018 05:32 PM)ijabbott Wrote: Is there a neat formula for just the constant term when converting the product to a sum? From A058377: Quote:FORMULA Thus I doubt there is a "neat formula". However here's a table of n, a(n) for n = 1..3342 From this we can calculate the value of I(1000) in accordance with Valentin's result: Code: >>> pi * 233854293495526890065238464248235751245240100131956760799187425375936277246905222228775610040031305849064670042246460679001271435777190838367631750031993315261824635725695903178339381850276654476951936755781933577607867005498666404483087885857942123647648138674089597298681941927332215904466338708 / 2**998 Since I had trouble with the Python program with bigger numbers I implemented it in Clojure: Code: (defn zeros [k] It's fast for n=100, takes a couple of seconds for n=200 and multiple minutes for n=1000. I've tried it for n=2000 and after a while that felt like eternity the correct result was given. From these measurements I would assume that it would take days or even weeks to calculate the value for n=20,000. Thus I refrained from trying. Kind regards Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)