Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #19 Aug 03 2024 15:01:31
%S 0,0,1,0,2,0,1,4,0,2,3,0,2,3,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%T 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%U 1,1,1,1,1,1,1,1,1,1,1,1,1,1
%N A Van Eck-type sequence on the triangular lattice.
%C For a given lattice, the Van Eck sequence over that lattice is the unique sequence of nonnegative integers such that, if all equal terms are connected by "bridges" that travel between adjacent faces, then each term is the length of the bridge connecting the previous term to a term with lower index, or 0 if no such bridge exists. Generally, the Van Eck sequence of a given lattice is not unique since it depends on the path that the sequence takes through the lattice. This sequence uses a spiral, as in A308625 and A308626, and appears as follows, starting at the cell in parentheses facing upward and traveling clockwise:
%C --------------------------------
%C \ / \ / \ 3 / \ 1 / \ / \
%C .\ / \ / 3 \ / 1 \ / 1 \ / \
%C --------------------------------
%C ./ \ / \ 2 / \ 1 / \ 1 / \ /
%C / \ / 0 \ / 0 \ / 0 \ / 1 \ /
%C --------------------------------
%C \ / \ 3 / \(0)/ \ 2 / \ 1 / \
%C .\ / \ / 2 \ / 0 \ / 1 \ / \
%C --------------------------------
%C ./ \ / \ 0 / \ 1 / \ 1 / \ /
%C / \ / \ / 4 \ / 1 \ / \ /
%C --------------------------------
%C Note: This sequence uses the definition that two cells are adjacent if they share an edge. Allowing vertex adjacency makes a very boring sequence: 0, 0, 1, and 0, followed by an infinite string of 1's.
%C a(n) = 1 for all n >= 17, since the previous 1 will always be adjacent to another 1. The Van Eck-type sequences for the square and hexagonal lattices end similarly.
%H <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1).
%F G.f.: x^3*(1 - x + 2*x^2 - 2*x^3 + x^4 + 3*x^5 - 4*x^6 + 2*x^7 + x^8 - 3*x^9 + 2*x^10 + x^11 - 2*x^13)/(1 - x). - _Elmo R. Oliveira_, Aug 03 2024
%e a(7) = 1, and the only other 1 to appear so far is 4 cells away (not 2, since we only consider edge adjacency), so a(8) = 4.
%Y Cf. A181391, A308625, and A308626 for Van Eck-type sequences over the 1D "lattice" and the 2D hexagonal and square lattices, respectively.
%K nonn,easy
%O 1,5
%A _Charlie Neder_, Jun 11 2019