login
A381489
Index of first half of decomposition of integers into pairs x(i)+y(j) based on A380008 and A380009, respectively.
1
0, 0, 1, 1, 2, 2, 3, 3, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 4, 4, 5, 5, 6, 6, 7, 7, 0, 0, 1, 1, 2, 2, 3, 3, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 4, 4, 5, 5, 6, 6, 7, 7, 0, 0, 1, 1, 2, 2, 3, 3, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 4, 4, 5, 5, 6, 6, 7, 7
OFFSET
0,5
COMMENTS
One coordinate of a recursive non-self-intersecting walk on the square lattice Z^2.
Every integer appears infinitely many times in the sequence.
FORMULA
n = A380008(a(n)) + A380009(A381490(n)).
EXAMPLE
A380008(a(14)) + A380009(A381490(14)) = A380008(3) + A380009(2) = 6+8 = 14.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Luis Rato, Feb 25 2025
STATUS
approved