Problem 2318 · Hard

Number of Distinct Roll Sequences

Count dice sequences by their last two rolls, using gcd and a two-roll gap rule.

Open the interactive visualisation