login
A369475
Lexicographically earliest infinite sequence such that, from all indices n with the same a(n) value, the terms reached by a single jump are all distinct, where jumps are allowed from location i to i+-a(i).
2
1, 2, 2, 3, 4, 1, 5, 3, 2, 5, 6, 1, 7, 4, 6, 3, 1, 8, 8, 2, 5, 7, 3, 5, 6, 9, 1, 10, 11, 1, 12, 3, 2, 3, 10, 4, 13, 1, 14, 6, 2, 3, 9, 5, 15, 7, 2, 9, 13, 7, 5, 4, 4, 4, 6, 10, 12, 11, 9, 2, 10, 16, 1, 15, 3, 4, 5, 17, 1, 18, 9, 12, 3, 6, 5, 19, 1, 20, 9, 15
OFFSET
1,2
COMMENTS
Consider each index i as a location from which one can jump a(i) terms forwards or backwards. From all indices with the same a(n) value, every jump is to a distinct term.
Another way to define the sequence is to consider every possible ordered pair of values of the form (origin value, destination value)--every such ordered pair is distinct.
LINKS
EXAMPLE
a(5)=4 because:
a(5) cannot be 1 because then we would have two jumps from a term with the same value 2, both landing on the value 1--ordered pair (2,1) twice:
1, 2, 2, 3, 1
2---->1
1<----2
a(5) cannot be 2 because we would have two jumps from the same a(n) value 2 to the same value 2--ordered pair (2,2) twice:
1, 2, 2, 3, 2
2---->2
2<----2
a(5) cannot be 3 because we would have two jumps from the same a(n) value 2 to the same a(n) value 3--ordered pair (2,3) twice:
1, 2, 2, 3, 3
2---->3
2---->3
a(5) can be 4 without contradiction.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Neal Gersh Tolunsky, Jan 23 2024
EXTENSIONS
More terms from Pontus von Brömssen, Jan 24 2024
STATUS
approved