Please add a test case that kills my invalid leading solution.
I misinterpreted the wiki page for sequencing which I thought was random choice to produce a 1 in 13 probability.
Weird that this works. (The fourth line is incorrect, by mistake; I had forgotten to change it after I discovered that the top card of each pile is the left-most of each group of four, not the right-most. Yet it works.)
239 Solvers
190 Solvers
Golomb's self-describing sequence (based on Euler 341)
109 Solvers
39 Solvers
268 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!