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.

Showing 1-6 of 6 results.

A274820 Spiral constructed on the nodes of the infinite triangular net in which each term is the least nonnegative integer such that no diagonal contains a repeated term.

Original entry on oeis.org

0, 1, 2, 1, 2, 1, 2, 0, 3, 0, 4, 3, 5, 3, 4, 5, 3, 4, 6, 5, 6, 7, 4, 6, 5, 7, 6, 3, 0, 6, 5, 7, 0, 6, 7, 5, 4, 8, 1, 3, 6, 8, 1, 9, 7, 8, 2, 4, 9, 8, 2, 10, 11, 8, 9, 10, 12, 3, 8, 9, 7, 10, 9, 2, 4, 8, 5, 10, 2, 11, 9, 11, 0, 10, 7, 8, 6, 0, 9, 7, 10, 12, 7, 1, 4, 8, 5, 11, 1, 10, 12, 9, 5, 11, 10, 13, 12, 11, 13, 14
Offset: 0

Views

Author

Omar E. Pol, Jul 09 2016

Keywords

Comments

Also spiral constructed on the infinite hexagonal grid in which each term is the least nonnegative integer such that no diagonal of successive adjacent cells contains a repeated term. Every number is located in the center of a hexagonal cell. Every cell is also the center of three diagonals of successive adjacent cells.
Presumably every line of cells with slope a multiple of 60 degrees (not necessarily passing through the central cell) is a permutation of the nonnegative numbers. See A296343-A296348 for the spokes through the central cell. - N. J. A. Sloane, Dec 12 2017

Examples

			Illustration of initial terms as a spiral:
.
.                   9 - 4 - 2 - 8 - 7
.                  /                 \
.                 8   3 - 6 - 7 - 5   9
.                /   /             \   \
.               2   0   5 - 3 - 4   6   1
.              /   /   /         \   \   \
.            10   6   3   1 - 2   0   4   8
.            /   /   /   /     \   \   \   \
.          11   5   4   2   0 - 1   3   7   6
.            \   \   \   \         /   /   /
.             8   7   5   1 - 2 - 0   6   3
.              \   \   \             /   /
.               9   0   3 - 4 - 6 - 5   1
.                \   \                 /
.                10   6 - 7 - 5 - 4 - 8
.                  \
.                  12 - 3 - 8 - 9 - 7
.
		

Crossrefs

Cf. A001477, A269526, A274528 (square array), A274641 (spiral on the square grid), A274650 (right triangle), A274821, A274920, A274921, A275606, A275610, A296339.
A296342 says when n first appears.
See A296343-A296348 for the spokes.

Programs

  • PARI
    See Links section.

Formula

a(n) = A274821(n) - 1.

A296343 Numbers in cells in spiral A274820 on spoke through center with slope 0 degrees.

Original entry on oeis.org

0, 1, 3, 7, 6, 8, 12, 16, 14, 17, 21, 22, 20, 24, 29, 25, 41, 30, 36, 34, 37, 38, 45, 43, 56, 44, 51, 48, 52, 54, 55, 70, 57, 61, 63, 66, 83, 85, 69, 92, 74, 82, 77, 104, 86, 106, 79, 87, 117, 118, 93, 94, 96, 97, 98, 99, 103, 102, 110, 112, 111, 113, 116, 154
Offset: 0

Views

Author

N. J. A. Sloane, Dec 12 2017

Keywords

Comments

It is conjectured that this and A296346 together are a permutation of the nonnegative numbers.

Crossrefs

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Dec 12 2017

A296344 Numbers in cells in spiral A274820 on spoke through center with slope 60 degrees.

Original entry on oeis.org

0, 2, 4, 5, 7, 9, 16, 11, 13, 15, 20, 19, 22, 21, 34, 27, 28, 32, 45, 35, 33, 44, 42, 53, 43, 49, 60, 65, 50, 51, 57, 58, 55, 83, 62, 64, 88, 70, 67, 71, 97, 76, 79, 78, 81, 112, 87, 111, 91, 89, 92, 96, 130, 98, 134, 101, 105, 140, 142, 104, 108, 146, 152
Offset: 0

Views

Author

N. J. A. Sloane, Dec 12 2017

Keywords

Comments

It is conjectured that this and A296347 together are a permutation of the nonnegative numbers.

Crossrefs

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Dec 17 2017

A296345 Numbers in cells in spiral A274820 on spoke through center with slope 120 degrees.

Original entry on oeis.org

0, 1, 5, 3, 9, 8, 10, 18, 19, 13, 15, 16, 17, 22, 25, 37, 29, 30, 34, 31, 36, 50, 39, 38, 41, 46, 44, 47, 51, 53, 54, 56, 59, 57, 61, 65, 62, 82, 68, 72, 69, 70, 74, 73, 101, 80, 78, 83, 85, 87, 91, 94, 97, 125, 100, 103, 104, 116, 105, 111, 112, 110, 107, 109
Offset: 0

Views

Author

N. J. A. Sloane, Dec 16 2017

Keywords

Comments

It is conjectured that this and A296348 together are a permutation of the nonnegative numbers.

Crossrefs

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Dec 17 2017

A296346 Numbers in cells in spiral A274820 on spoke through center with slope 180 degrees.

Original entry on oeis.org

0, 2, 4, 5, 11, 10, 15, 9, 13, 18, 19, 28, 23, 26, 35, 32, 27, 31, 33, 46, 39, 40, 42, 58, 49, 47, 65, 50, 68, 67, 53, 59, 60, 62, 64, 73, 84, 71, 72, 76, 88, 81, 75, 78, 89, 108, 80, 115, 90, 91, 122, 100, 105, 95, 101, 139, 133, 107, 109, 148, 119, 149, 114
Offset: 0

Views

Author

N. J. A. Sloane, Dec 16 2017

Keywords

Comments

It is conjectured that this and A296343 together are a permutation of the nonnegative numbers.

Crossrefs

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Dec 17 2017

A296347 Numbers in cells in spiral A274820 on spoke through center with slope 240 degrees.

Original entry on oeis.org

0, 1, 3, 6, 12, 8, 10, 17, 14, 23, 18, 26, 31, 24, 25, 29, 30, 40, 36, 37, 38, 39, 41, 59, 46, 66, 47, 48, 52, 54, 56, 73, 61, 84, 86, 63, 68, 75, 95, 69, 72, 74, 77, 80, 82, 85, 90, 93, 116, 94, 109, 102, 100, 107, 99, 132, 103, 106, 113, 110, 114, 115, 117
Offset: 0

Views

Author

N. J. A. Sloane, Dec 16 2017

Keywords

Comments

It is conjectured that this and A296344 together are a permutation of the nonnegative numbers.

Crossrefs

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Dec 17 2017
Showing 1-6 of 6 results.