Skip to content
LeanLearn
Level 3~35 minLean 4

Cube Quest 4 · Compute: run moves, count cases

Lean is also a programming language. Predict, then compute: how often must a sequence repeat before the cube comes back? What are the chances of a lucky skip on the last layer?

You will be able to
  • Compute the order of a move sequence and explain why every sequence has one.
  • Evaluate move sequences in Lean and see the result on the cube.
  • Prove counting facts behind the probabilities on a speedcubing algorithm sheet.

Recommended first: Cube Quest 3 · Mechanize: moves as data. You can start anyway. Nothing is locked.

PredictActivity 1 of 8

Predict

Do R U, then R U again, and again. Guess: after how many repetitions is the cube solved again for the first time?

Sequence: R U