A274821 Hexagonal spiral constructed on the nodes of the infinite triangular net in which each term is the least positive integer such that no diagonal contains a repeated term.
1, 2, 3, 2, 3, 2, 3, 1, 4, 1, 5, 4, 6, 4, 5, 6, 4, 5, 7, 6, 7, 8, 5, 7, 6, 8, 7, 4, 1, 7, 6, 8, 1, 7, 8, 6, 5, 9, 2, 4, 7, 9, 2, 10, 8, 9, 3, 5, 10, 9, 3, 11, 12, 9, 10, 11, 13, 4, 9, 10, 8, 11, 10, 3, 5, 9, 6, 11, 3, 12, 10, 12, 1, 11, 8, 9, 7, 1, 10, 8, 11, 13, 8, 2, 5, 9, 6, 12, 2, 11, 13, 10, 6, 12, 11, 14, 13, 12, 14, 15
Offset: 0
Keywords
Examples
Illustration of initial terms as a spiral: . . 10 - 5 - 3 - 9 - 8 . / \ . 9 4 - 7 - 8 - 6 10 . / / \ \ . 3 1 6 - 4 - 5 7 2 . / / / \ \ \ . 11 7 4 2 - 3 1 5 9 . / / / / \ \ \ \ . 12 6 5 3 1 - 2 4 8 7 . \ \ \ \ / / / . 9 8 6 2 - 3 - 1 7 4 . \ \ \ / / . 10 1 4 - 5 - 7 - 6 2 . \ \ / . 11 7 - 8 - 6 - 5 - 9 . \ . 13 - 4 - 9 - 10 - 8 .
Crossrefs
Formula
a(n) = A274820(n) + 1.
Comments