What? No, you can store 52! unique states with a pack of playing cards. Just map each state to a data set. /j
> 52!
= 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000
> 2^225
= 53,919,893,334,301,279,589,334,030,174,039,261,347,274,288,845,081,144,962,207,220,498,432
> 2^226
= 107,839,786,668,602,559,178,668,060,348,078,522,694,548,577,690,162,289,924,414,440,996,864They inexplicably hired my know-it-all ass...
$ julia -E 'log2(factorial(big(52)))'
225.581003123702761946342444376665612911126819036757601937313805865615023286654
(It's also just math, of course, but it's nice to have a quick way to check these things.) echo 'l(f(52))/l(2)' | bc -l
225.58100312370276194868
(`l(x)` is natural log, hence the `/l(2)` to convert to `log2`)Annoyingly, GNU `bc` doesn't have `f(x)`.