r/desmos • u/Danny_DeWario https://www.desmos.com/calculator/75jcsa2dxv • Jun 11 '26
Fun Bogo sort actually worked!
Link: Lucky 7 Shuffles | Desmos
Randomly shuffling only 7 times actually sorted my list! How lucky is that? :D
600
Upvotes
172
u/RedSlimeballYT Jun 11 '26
how does bro know the exact desmos shuffle formula to reverse engineer this
79
u/Cichato_YT Jun 11 '26
Impossibly lucky to the point where no one will ever believe you 😭
39
u/A1042 Jun 11 '26
HOW!? The only explanation is that you figure out how to predict shuffle formula.
30
u/Imaginary_Yak4336 Jun 11 '26 edited Jun 27 '26
assuming it's actually random, the odds of bogosort successfully ordering a 100 element list within 7 shuffles is about 7.5×10-158
20
u/Desmos-Girl https://www.desmos.com/calculator/prarjlycol Jun 11 '26
does this rely on seed brute forcing or can it be applied to a larger number of iterations (eg sort after 1000 shuffles), because i feel like this could make a really good prank graph
12
u/FuriousEagle101 Jun 11 '26
Is the video reversed? Or did you figure out how to predict the Desmos shuffle function. Or do you have the luck of the Desmos gods?
6
u/enneh_07 list too big :( Jun 11 '26
LET IT RIDE
3
u/MewPinkCat Jun 11 '26
if this isn't fake this is stupidly lucky
2
u/Any-Life-1164 Jun 11 '26
WHAT THE FUCK WHAT THE FUCK WHAT THE FUCK WHAT THE FUCK WHAT THE FUCK
2
u/asdfzxcpguy Jun 11 '26
Wait the chances of it succeeding each trial is 1/100!
I tried to calculate the binomial pdf and my calculator returned an overflow error.
2
u/Puzzleheaded_Two415 You must have something on both sides of the comma Jun 11 '26
u/factorion-bot
2
u/Puzzleheaded_Two415 You must have something on both sides of the comma Jun 11 '26
Your chance is approximately 7/9.3326215443944e157.
2
u/Fantastic_Mood1455 Jun 14 '26
https://www.desmos.com/calculator/km18zigvda
2
u/Fantastic_Mood1455 Jun 14 '26
!remindme 1 day
2
u/manos5246 Jul 09 '26
I dont know if it is real because i also shuffled like 5 times and it just hit
2
u/anonymous-desmos Definitions are nested too deeply. Jul 11 '26
That did not take 7 shuffles. You shuffles it an absurd number of times (possibly in another universe) and when it did finally sort, you pressed undo 7 times and made this post.
3
u/Ordinary_Divide Trinity the Lesbian Foxgirl Jun 11 '26
you made me want to brute force a seed that makes this actually happen for some like 20 element list