this post was submitted on 06 Aug 2025
488 points (99.2% liked)

xkcd

13354 readers
411 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 2 years ago
MODERATORS
 

xkcd #3125: Snake-in-the-Box Problem

Title text:

Chemistry grad students have been spotted trying to lure campus squirrels into laundry hampers in the hope that it sparks inspiration.

Transcript:

Transcript will show once it’s been added to explainxkcd.com

Source: https://xkcd.com/3125/

explainxkcd for #3125

you are viewing a single comment's thread
view the rest of the comments
[–] BlackLaZoR@fedia.io 5 points 2 months ago (3 children)

I'd expect something around ~200 for n=9 and ~400 for n=10, but I imagine this is too big to be brute forced by raw computing

[–] elrik@lemmy.world 9 points 2 months ago (1 children)
[–] Klear@lemmy.world 1 points 2 months ago

Wow, it already lists the xkcd in the links section. I have a feeling that snake is gonna bite its tail soon.

[–] four@lemmy.zip 2 points 2 months ago (1 children)

I'd think that it's not "too much to be brute forced", but probably no one has thrown enough resources at that recently

[–] BlackLaZoR@fedia.io 1 points 2 months ago

With each additional dimension, the amount of possible combinations grows exponentially. Without serious optimization efforts, computation requirements get prohibitive very, very fast

[–] nialv7@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

Some trivial bounds: F(n-1) + 1 <= F(n) <= F(n-1) * 2 + 1.

Also F(n) <= 2^(n-1)