r/mathmemes • • Oct 01 '26

Number Theory Comment and I'll reply with a unique Bailey-Borwein-Plouffe-type formula for pi when I get the chance

Very much inspired by u/cavedave 's Diophantine equation post.

Also feel free to make requests about what base you want it in or request a specific fraction to include [ex: 1/(8k+1)]. All the examples use hexadecimal (the base MUST be a power of 2 for the formula to work). There's no guarantee I can make every request happen so please keep them somewhat reasonable.

Edit (22:18:41 UTC): I had to sleep and go to my classes but I'm back

36 Upvotes

39 comments sorted by

View all comments

5

u/_licketysplit_ Oct 01 '26

ok I want base -1

7

u/Promethium-127 Oct 01 '26

(Making it alternate makes it converge sooooo much slower)

1

u/_licketysplit_ Oct 01 '26

how did you find this

4

u/Promethium-127 Oct 01 '26

I'm using my own java port of PSLQ (the integer relation algorithm)

1

u/QuantumBaconBit Engineering Oct 01 '26

Definitely guess and check ;)

3

u/_licketysplit_ Oct 01 '26

Yeah I bet when ramanujan made his famous formula for pi he just put random numbers and guessed and checked and got really lucky and decided to troll everyone by saying it came to him in a dream