Weird Constants in Math Problems
blog.plover.com
blog.plover.com
>>> 1/(2 * (1 - math.exp(-2)))
0.5782588213748329
Instead it should be
>>> 1/2 * (1 - math.exp(-2))
0.43233235838169365
Which handily appears in OEIS (a great resource for random constants and sequences) as http://oeis.org/A247847
Actually I do a lot of integrals this way – symbolically but checking whether the transformation was legit evaluating definite integral on few random intervals. For me is very helpful and I believe it can be extended to problems beyond integrals.
It never occurred to me before, but running simulations and looking up the result in a dictionary of constants might be a helpful learning approach for people who are more adept at going from practice to theory.
How many fromblaz of size N are there? lets count them for N=1 ... N=8 or whatever is tractable to count using naive methods then hope a useful result shows up in OEIS.
OEIS will also return equations for simple linear integer expressions without an OEIS entry.
Unfortunately, the tools for single constants are significantly less good than OEIS.
It's there as one of "Possible closed forms".
it's there even for 0.4323 but further down, you need to request more closed forms.
Sounds easy enough to check, and easy enough to prove, if the hunch proves right.
The solution apparently has a name, Dottie constant [1].
[1] https://en.wikipedia.org/wiki/Logistic_map
[2] https://en.wikipedia.org/wiki/Mandelbrot_set
[3] https://en.wikipedia.org/wiki/Attractor#Strange_attractor
As I recall from my fiddling, you are probably most likely to end up with a series solution of sorts, so it's a good idea to guess with polynomials or exponentials so you end up with component functions that form a basis for analytic functions.
Also, if you alternate hitting the reciprocal key and adding 1 you get the golden ratio 1.618033... pretty quickly.
The database behind it grew huge, making it expensive to operate, and it seems any copy of it online goes down whenever someone graduates.
[1] https://oeis.org
Enough for me to, in my overconfidence, assume the constant was 2.5. Later, when I found an exact derivation, it turned out the actual constant was pi^2/4 or 2.46740110027. Which was apparently close enough to fool me.
(It wasn't, in the case he was interested in - he had a sum that he suspected might be 1, from numerical evidence, but that actually turned out to be a combination of zeta values equal to 0.999222...)
But analysis showed that the actual answer was 9304682830147 ÷ 2329089562800 = 3.994987….
That's classic exponential decay, the solution being k = ne^(-t/n). Thus k(n) = ne^(-1).
But as n -> infinity, the effect of this becomes negligible.
Who cares? That's how probability works. Nothing weird.