cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A381489 Index of first half of decomposition of integers into pairs x(i)+y(j) based on A380008 and A380009, respectively.

Original entry on oeis.org

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

Views

Author

Luis Rato, Feb 25 2025

Keywords

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.

Examples

			A380008(a(14)) + A380009(A381490(14)) = A380008(3) + A380009(2) = 6+8 = 14.
		

Crossrefs

Formula

n = A380008(a(n)) + A380009(A381490(n)).