login
A381490
Index of second half of decomposition of integers into pairs x(i)+y(j) based on A380008 and A380009, respectively.
1
0, 1, 0, 1, 0, 1, 0, 1, 2, 3, 2, 3, 2, 3, 2, 3, 0, 1, 0, 1, 0, 1, 0, 1, 2, 3, 2, 3, 2, 3, 2, 3, 4, 5, 4, 5, 4, 5, 4, 5, 6, 7, 6, 7, 6, 7, 6, 7, 4, 5, 4, 5, 4, 5, 4, 5, 6, 7, 6, 7, 6, 7, 6, 7, 8, 9, 8, 9, 8, 9, 8, 9, 10, 11, 10, 11, 10, 11, 10, 11, 8, 9, 8, 9, 8, 9, 8, 9
OFFSET
0,9
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(A381489(n)) + A380009(a(n))
EXAMPLE
A380008( A381489(14)) + A380009(a(14)) = A380008(3) + A380009(2) = 6+8 = 14
CROSSREFS
Cf. A380008 (indices of 0's), A380009.
Sequence in context: A274821 A275720 A307200 * A339092 A165587 A368405
KEYWORD
easy,nonn
AUTHOR
Luis Rato, Feb 25 2025
STATUS
approved