OFFSET
0,3
COMMENTS
Base-5 variant of Knuth's A220952. The definition of the sequence by an adjacency diagram is the same as in A220952, except that the diagram for the sequence here is:
.
(0,4)--(1,4) (2,4)--(3,4) (4,4)
| | | | |
| | | | |
(0,3) (1,3) (2,3) (3,3) (4,3)
| | | | |
| | | | |
(0,2) (1,2) (2,2) (3,2)--(4,2)
| | |
| | |
(0,1) (1,1) (2,1)--(3,1)--(4,1)
| | |
| | |
(0,0) (1,0)--(2,0)--(3,0)--(4,0)
.
Conjecture: As in A220952, it can be proved (a) that every positive integer is adjacent to exactly two nonnegative integers, and (b) that with this definition of adjacency, the nonnegative integers form a path starting with 0.
The adjacency definition implies that the terms, when written with 3 base-5 digits, define the coordinates of a self-avoiding, space-filling path in a 5 X 5 X 5 cube. All 3 orthogonal projections to the plane are congruent to the diagram above. This property is maintained in the 4th, 5th ... dimension.
The variants of such adjacency diagrams may be distinguished by letter codes, in this case "Ln" with "L" for the path (0,0)...(2,1), and "n" for the path in the upper right corner which has the same shape as the inner structure (1,1)...(3,3) of Knuths's A220952.
LINKS
EXAMPLE
In base-5, the terms for the path in two dimensions are 0, 1, 2, 3, 4, 14, 13, 12, 11, 10, 20, 30, 40, 41, 31, 21, 22, 23, 24, 34, 33, 32, 42, 43, 44.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Georg Fischer, Apr 07 2019
STATUS
approved