Talk:Mind boggling card trick: Difference between revisions

m
No edit summary
 
Line 53:
 
=="hardness" of the problem==
I'm late to the game, but fwiw.. there are only 27 visibly distinct shufflings, one identification system being "how many red cards did you see" (from 0 to 26), then everything else necessarily follows. Those 27 distinct visible shufflings then allow only a total of 196 distinct distributions of unseen red/black cards into their respective piles, which again all necessarily follow. (and step 3 is superfluous) So the entire space of the problem can be examined as an exhaustive proof in probably less time (and certainly less code) than it takes to create and verbosely dump and test several random cases as per the task! Still, it was an amusing distraction anyway. :) --[[User:Davbol|Davbol]] ([[User talk:Davbol|talk]]) 22:14, 22 July 2022 (UTC)
Anonymous user