cybre.space has reached the end-of-life and is now read-only. Please see the EOL announcement for details
I am so obsessed with 密率, an irreducible fraction with a 112 period (in decimal). Maxing out its demoninator, which is 113, a prime.
I'm in love with this number. I don't even care about the circle divided by r squared anymore, schmancendental. I've found my Buddha on the road and I don't wanna pull the trigger.

It's still a mystery to math dorks why there's a huge honking 292 smack dab in the fraction expansion of pi. A001203 in the OEIS. I'm dangerously close to getting into some woo mystic religion nonsense just to honor and celebrate this wonderful number (密率, that is, not 292).

I wonder if there are any circles in nature that use 密率. Any bubbles or flower stalks or tree-rings where God cut some corners (Matthew 10:29) and finally made some rational decisions for once ♥🙏
I have been wondering—if pi was secretly 密率 all along, could the circle have been squared? Turns out that yes, it could have, and Ramanujan did it in 1913! That is absolutely baller! Er, I mean, approximately baller!

https://en.wikisource.org/wiki/Squaring_the_circle
In other words, he uses compass and unmarked ruler, Euclid style, to construct a square with 密率 area from a unit circle. There's no pencil sharp enough to distinguish that square from a square with the same area as the unit circle. If that unit circle area was scaled up to be 140 000 square miles, the side of 密率 square would be just one inch longer than the side of the square with the unit circle's area.

密率 is the patron saint of Good Enough ♥
Follow

@Sandra Found by Zu Chongzhi isn't it?

· · Web · 1 · 0 · 1
@wim_v12e yes, he found it by inscribing a 12288-gon! World's biggest genius

@Sandra I found a paper that gives a different explanation of how he arrived at it, using continued fractions. It is surprisingly simple.
- bound pi between 3 and 3.5
- using the continued fraction (7+3x)/(2+x)=pi, solve for x and substitute an estimate for pi. Take the closest integer to x, and do this iteratively.

repository.kulib.kyoto-u.ac.jp

@Sandra I had a closer look at that paper and I think it is not sound. The only reason why the presented calculation gives a close fraction for pi is because of the provided approximations for pi (3.14 and 3.1416). With any other value you simply get a different fraction.
So what it does is only explain how, given the approximations 22/7 and 3.1416, you can arrive at 355/113. The value of 3.1416 is introduced through handwaving.
So the only point to take from this paper is that Zu Chongzhi might have used continued fractions purely as a calculation technique. It's not an algorithm to approximate pi. So it's back to the 12288-gon (this paper mentions a 24576-gon but no explanation for that either).
@csepp

@Sandra @csepp
Raku implementation:

sub approx_pi_h (Rat \pi_lb, Rat \pi_hb, Rat \pi_ --> Rat ) {
my Real \x =
(pi_lb.numerator - pi_*pi_lb.denominator) /
(pi_*pi_hb.denominator - pi_hb.numerator);
my Int \m = floor(x);
(pi_hb_t*m + pi_lb_t) / (pi_hb_n*m + pi_lb_n);
}

Sign in to participate in the conversation
Cybrespace

the mastodon instance at cybre.space is retired

see the end-of-life plan for details: https://cybre.space/~chr/cybre-space-eol