Starting at n, a(n) is the difference of the number of times we move away from zero from positive spots and the number of times we move away from zero from negative spots 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.
A324688
Starting at n, a(n) is the difference of the number of times we move away from zero from positive spots and the number of times we move away from zero from negative spots 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) =-1a(3) =0a(4) =-7a(5) =-6a(6) =0a(7) =-78a(8) =-2a(9) =-1a(10) =0a(11) =3a(12) =-14a(13) =-13a(14) =-2a(15) =0a(16) =9a(17) =-54646a(18) =-3a(19) =-2a(20) =8497a(21) =0a(22) =-8a(23) =-5a(24) =-4a(25) =-172288a(26) =-3a(27) =-2a(28) =0a(29) =27
External references
- oeis: A324688