Starting at n, a(n) is the distance from zero of the farthest point visited 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 from zero instead.
A324671
Starting at n, a(n) is the distance from zero of the farthest point visited 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 from zero instead.
Terms
- a(0) =0a(1) =1a(2) =4a(3) =3a(4) =47a(5) =46a(6) =6a(7) =6843a(8) =23a(9) =22a(10) =10a(11) =72a(12) =471a(13) =470a(14) =29a(15) =15a(16) =352a(17) =4843985a(18) =39a(19) =38a(20) =891114a(21) =21a(22) =102a(23) =57a(24) =56a(25) =7856204a(26) =45a(27) =44a(28) =28a(29) =1700
External references
- oeis: A324671