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-8 of 8 results.

A274641 Counterclockwise square spiral constructed by greedy algorithm, so that each row, column, and diagonal contains distinct numbers. Start with 0 (so in this version a(n) = A274640(n) - 1).

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Jul 09 2016, based on the entry A274640 from Zak Seidov and Kerry Mitchell, Jun 30 2016

Keywords

Comments

See A274640 for further information.
Presumably every row, column, and diagonal is a permutation of the natural numbers, but is there a proof? - N. J. A. Sloane, Jul 10 2016

Examples

			From _Jon E. Schoenfield_, Dec 26 2016: (Start)
The spiral begins:
.
   8--15---1---3---6--13--10--11---0---4---7
   |                                       |
  16   7--14--13--12--11---8---9---5---6   2
   |   |                               |   |
   0   1   3--10---9---2---7---6---8  12  14
   |   |   |                       |   |   |
   7   8   6   2---4---5---0---1   3  11  10
   |   |   |   |               |   |   |   |
  10  11   7   0   1---3---2   5   4   9  13
   |   |   |   |   |       |   |   |   |   |
  14   6   5   4   2   0---1   3   7  10  11
   |   |   |   |   |           |   |   |   |
  13   9   2   1   3---4---5---0   6   8  12
   |   |   |   |                   |   |   |
   6  10   8   5---0---1---3---4---2   7   9
   |   |   |                           |   |
   3  12   4---6---7---8---9--10--11---5   0
   |   |                                   |
  11  13---9---8---5--12---4---2--14--15---6
   |
   9--14---0--11--15---7--13--12--10--17--16
.
(End)
		

Crossrefs

Cf. A274640 (if start with 1 at center), A324481 (position of first n).
For the eight spokes see A324774-A324781.

A324774 East spoke of spiral in A274641.

Original entry on oeis.org

0, 1, 3, 7, 10, 11, 15, 8, 18, 23, 21, 17, 26, 25, 20, 36, 42, 38, 39, 48, 27, 28, 31, 45, 54, 59, 44, 47, 65, 72, 69, 75, 82, 76, 64, 74, 41, 61, 93, 95, 100, 102, 66, 62, 111, 79, 112, 57, 106, 63, 107, 119, 108, 68, 123, 129, 139
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.

A324775 North-East spoke of spiral in A274641.

Original entry on oeis.org

0, 2, 1, 8, 6, 7, 11, 14, 12, 16, 19, 21, 25, 41, 26, 24, 27, 49, 34, 31, 36, 33, 37, 67, 47, 48, 79, 44, 52, 84, 92, 50, 51, 94, 59, 54, 66, 69, 115, 63, 128, 68, 76, 132, 73, 141, 85, 88, 93, 152, 89, 151, 95, 96, 87, 97, 101, 169, 102, 108, 98, 189, 185
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.

A324776 North spoke of spiral in A274641.

Original entry on oeis.org

0, 3, 5, 2, 11, 13, 14, 17, 19, 25, 24, 26, 20, 28, 21, 40, 31, 23, 35, 32, 45, 27, 41, 54, 49, 61, 59, 70, 68, 73, 53, 79, 81, 46, 43, 77, 90, 48, 97, 92, 78, 58, 85, 89, 108, 69, 100, 76, 119, 118, 96, 129, 117, 71, 66, 135, 130, 82, 140, 93, 123, 152, 138
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.

A324777 North-West spoke of spiral in A274641.

Original entry on oeis.org

0, 1, 2, 3, 7, 8, 6, 10, 13, 9, 21, 28, 17, 18, 24, 25, 19, 29, 32, 27, 30, 31, 44, 66, 40, 33, 37, 43, 47, 50, 48, 99, 54, 51, 57, 52, 59, 60, 63, 62, 120, 74, 69, 64, 70, 71, 82, 80, 73, 78, 83, 81, 85, 87, 84, 86, 175, 94, 95, 92, 105, 102, 108, 111, 104
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.

A324778 West spoke of spiral in A274641.

Original entry on oeis.org

0, 2, 4, 5, 6, 14, 9, 16, 12, 24, 13, 30, 19, 32, 33, 37, 34, 35, 22, 40, 51, 46, 52, 43, 29, 53, 60, 49, 50, 56, 70, 77, 80, 71, 78, 85, 92, 73, 90, 88, 97, 101, 104, 55, 105, 81, 96, 87, 94, 86, 58, 109, 67, 84, 124, 83, 125, 127, 115, 143, 91, 126, 141
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.

A324779 South-West spoke of spiral in A274641.

Original entry on oeis.org

0, 3, 5, 4, 13, 9, 10, 22, 15, 17, 20, 23, 18, 28, 45, 43, 29, 30, 57, 35, 32, 42, 40, 38, 39, 78, 77, 82, 46, 90, 56, 61, 55, 53, 60, 62, 58, 65, 114, 64, 72, 71, 74, 75, 130, 143, 91, 83, 80, 70, 81, 86, 163, 99, 171, 105, 103, 173, 178, 181, 104, 100, 190
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.

A324780 South spoke of spiral in A274641.

Original entry on oeis.org

0, 4, 1, 8, 12, 7, 6, 10, 9, 16, 18, 29, 22, 30, 15, 44, 33, 37, 38, 36, 42, 34, 55, 56, 50, 52, 63, 57, 39, 67, 62, 64, 72, 86, 47, 84, 91, 74, 99, 75, 51, 105, 106, 65, 109, 87, 116, 60, 107, 122, 124, 101, 127, 88, 103, 128, 133, 95, 131, 142, 115, 146
Offset: 0

Views

Author

N. J. A. Sloane, Jul 05 2019

Keywords

Crossrefs

The 8 spokes are A324774-A324781. To get them, subtract 1 from A274924-A274931, respectively.
Showing 1-8 of 8 results.