OFFSET
0,1
COMMENTS
The sequence takes values in the interval 1..9. We start from a completely solved cube and choose the color of the front side (say, white), so a(0)=9.
The sequence is periodic with period 60: after 60 moves the front side is complete again with 9 white tiles. The other 5 sides instead are scrambled.
LINKS
Patrick Poggensee, Rubik Cube 90-90-flip Notes Description
Patrick Poggensee, Diagram Rubik's Cube 90 Degrees Flip Pattern All Sides (the top side is assumed to be red)
Patrick Poggensee, Graph Rubik's Cube 90-Degrees-Flip Sequence White Side
Patrick Poggensee, Rubik's Cube 90 Degree Flip Pattern Sequence (video)
Index entries for linear recurrences with constant coefficients, signature (0,-1,0,-1,0,-1,0,-1,0,0,0,1,0,1,0,1,0,1,0,1).
FORMULA
a(n) = - a(n-2) - a(n-4) - a(n-6) - a(n-8) + a(n-12) + a(n-14) + a(n-16) + a(n-18) + a(n-20) for n > 20. - Stefano Spezia, Jul 11 2019
MATHEMATICA
LinearRecurrence[{0, -1, 0, -1, 0, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1}, {9, 6, 4, 3, 1, 1, 2, 2, 3, 5, 6, 6, 7, 4, 2, 2, 1, 2, 4, 4}, 100] (* Stefano Spezia, Jul 11 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Patrick Poggensee, Jul 10 2019
STATUS
approved