OFFSET
0,2
COMMENTS
For quadruples of nonnegative integers a, b, c, d we let diffy([a, b, c, d]) := [|a-b|, |b-c|, |c-d|, |d-a|] (i.e. the quadruple of absolute differences of neighboring values, cyclically speaking) and Diffy_length([a, b, c, d]) := min { n in N | diffy^n([a, b, c, d]) = [0, 0, 0, 0] } (i.e. the minimum number of diffy iterations needed to convert [a, b, c, d] into [0, 0, 0, 0]).
LINKS
Raymond Greenwell, 73.35 The Game of Diffy, Math. Gazette, Vol. 73, No. 465 (Oct., 1989), pp. 222-225.
Univ. Mass. Computer Science 121, The Diffy Game
EXAMPLE
CROSSREFS
KEYWORD
nonn
AUTHOR
Jens Voß, Nov 13 2001
STATUS
approved