Starting at n, a(n) is the minimum negative position from which a spot must be revisited on the next move, or zero if no such positions exist, according to the following rules. On the k-th step (k=1,2,3,...) move a distance of k in the direction of zero. If the number landed on has been landed on before, move a distance of k away.

A324678

Starting at n, a(n) is the minimum negative position from which a spot must be revisited on the next move, or zero if no such positions exist, according to the following rules. On the k-th step (k=1,2,3,...) move a distance of k in the direction of zero. If the number landed on has been landed on before, move a distance of k away.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =-3165a(8) =0a(9) =0a(10) =0a(11) =0a(12) =-140a(13) =-139a(14) =0a(15) =0a(16) =0a(17) =-3072845a(18) =0a(19) =0a(20) =-383171a(21) =0a(22) =0a(23) =0a(24) =0a(25) =-4869724a(26) =0a(27) =0a(28) =0a(29) =-217

External references