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.)
Find the peak 3n+1 sequence value
1122 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
280 Solvers
Sum of first n terms of a harmonic progression
261 Solvers
229 Solvers
35 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!