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-10 of 11 results. Next

A308884 Follow along the squares in the square spiral (as in A274641); in each square write the smallest nonnegative number that a knight placed at that square cannot see.

Original entry on oeis.org

0, 0, 0, 0, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 2, 3, 3, 2, 0, 1, 3, 2, 1, 0, 3, 3, 3, 2, 0, 1, 3, 3, 1, 0, 0, 0, 3, 3, 0, 0, 0, 2, 1, 3, 3, 0, 0, 0, 2, 2, 3, 2, 0, 0, 0, 2, 1, 3, 3, 1, 2, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 2, 2, 1, 3, 2, 1, 0, 1, 1, 1, 2, 1, 1, 1, 1, 0, 1, 1, 2, 2, 1
Offset: 0

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Comments

Similar to A274641, except that here we consider the mex of squares that are a knight's moves rather than queen's moves.
Since there are at most 4 earlier cells in the spiral at a knight's move from any square, a(n) <= 4.

Examples

			A knight at square 0 cannot see any numbers, so a(0)=0. Similarly a(1)=a(2)=a(3)=0.
A knight at square 4 in the spiral can see the 0 in square 1 (because square 1 is a knight's move from square 4), so a(4) = 1. Similarly a(5)=a(6)=1.
A knight at square 7 can see a(2)=0 and a(4)=1, so a(7) = mex{0,1} = 2.
And so on. See the illustration for the start of the spiral.
		

Crossrefs

A308890 Follow along the squares in the square spiral (as in A274640); in each square write the smallest positive number that a knight placed at that square cannot see.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 2, 3, 3, 2, 2, 2, 2, 3, 3, 2, 3, 4, 4, 3, 1, 2, 4, 3, 2, 1, 4, 4, 4, 3, 1, 2, 4, 4, 2, 1, 1, 1, 4, 4, 1, 1, 1, 3, 2, 4, 4, 1, 1, 1, 3, 3, 4, 3, 1, 1, 1, 3, 2, 4, 4, 2, 3, 1, 2, 1, 2, 2, 2, 2, 1, 2, 2, 3, 3, 2, 4, 3, 2, 1, 2, 2, 2, 3, 2, 2, 2, 2, 1, 2, 2, 3, 3, 2, 1
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Comments

Similar to A274640, except that here we consider the mex of squares that are a knight's moves rather than queen's moves.
Since there are at most 4 earlier cells in the spiral at a knight's move from any square, a(n) <= 5.
This is obtained by adding 1 to the terms of A308884. "Mex" here means minimal positive excluded value.

Crossrefs

A308885 Positions of 0's on the spiral defined in A308884.

Original entry on oeis.org

0, 1, 2, 3, 20, 25, 30, 35, 36, 37, 40, 41, 42, 47, 48, 49, 54, 55, 56, 63, 65, 70, 79, 88, 94, 95, 110, 112, 114, 115, 121, 123, 125, 126, 132, 134, 137, 138, 141, 143, 144, 145, 147, 149, 150, 152, 154, 155, 156, 162, 165, 167, 168, 169, 175, 178, 180, 181, 182, 195, 197
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Crossrefs

A308889 Positions of 4's on the spiral defined in A308884.

Original entry on oeis.org

148, 151, 217, 353, 658, 662, 663, 667, 685, 692, 715, 746, 1210, 1275, 1280, 1459, 1466, 1544, 1826, 2188, 2277, 2282, 2521, 2528, 2630, 2996, 3454, 3567, 3572, 3871, 3878, 4004, 4454, 5008, 5145, 5150, 5509, 5516, 5666, 6200, 6850, 7011, 7016, 7435, 7442
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Crossrefs

Programs

  • PARI
    See Links section.

Extensions

More terms from Rémy Sigrist, Jul 02 2019

A308886 Positions of 1's on the spiral defined in A308884.

Original entry on oeis.org

4, 5, 6, 9, 10, 11, 12, 15, 21, 24, 31, 34, 44, 58, 61, 64, 66, 67, 68, 69, 71, 72, 75, 78, 80, 81, 82, 84, 85, 86, 87, 89, 90, 93, 96, 99, 100, 109, 111, 120, 122, 131, 133, 136, 139, 142, 161, 164, 187, 190, 196, 198, 200, 201, 202, 203, 204, 205, 207, 209, 210, 211, 213, 215
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Crossrefs

A308887 Positions of 2's on the spiral defined in A308884.

Original entry on oeis.org

7, 8, 13, 14, 16, 19, 23, 29, 43, 50, 51, 53, 57, 62, 73, 74, 77, 83, 91, 92, 97, 98, 102, 103, 104, 105, 106, 107, 113, 116, 117, 119, 127, 129, 135, 140, 157, 163, 170, 171, 173, 177, 179, 183, 194, 212, 221, 227, 242, 245, 247, 248, 250, 253, 257, 258, 259, 260, 262, 263, 264
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Crossrefs

A308888 Positions of 3's on the spiral defined in A308884.

Original entry on oeis.org

17, 18, 22, 26, 27, 28, 32, 33, 38, 39, 45, 46, 52, 59, 60, 76, 101, 108, 118, 124, 128, 130, 146, 153, 158, 159, 160, 166, 172, 174, 176, 184, 185, 186, 188, 189, 191, 192, 193, 199, 206, 218, 236, 286, 292, 296, 298, 302, 326, 332, 333, 339, 344, 345, 350, 358, 364, 370, 372, 382, 383, 389, 390, 396, 397
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Crossrefs

A308891 Positions of 0's on the spiral defined in A308890.

Original entry on oeis.org

1, 2, 3, 4, 21, 26, 31, 36, 37, 38, 41, 42, 43, 48, 49, 50, 55, 56, 57, 64, 66, 71, 80, 89, 95, 96, 111, 113, 115, 116, 122, 124, 126, 127, 133, 135, 138, 139, 142, 144, 145, 146, 148, 150, 151, 153, 155, 156, 157, 163, 166, 168, 169, 170, 176, 179, 181, 182, 183, 196, 198, 209, 215, 224
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Comments

Add 1 to the terms of A308885.

Crossrefs

A308892 Positions of 1's on the spiral defined in A308890.

Original entry on oeis.org

5, 6, 7, 10, 11, 12, 13, 16, 22, 25, 32, 35, 45, 59, 62, 65, 67, 68, 69, 70, 72, 73, 76, 79, 81, 82, 83, 85, 86, 87, 88, 90, 91, 94, 97, 100, 101, 110, 112, 121, 123, 132, 134, 137, 140, 143, 162, 165, 188, 191, 197, 199, 201, 202, 203, 204, 205, 206, 208, 210, 211, 212, 214, 216, 217
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Comments

Add 1 to the terms of A308886.

Crossrefs

A308893 Positions of 2's on the spiral defined in A308890.

Original entry on oeis.org

8, 9, 14, 15, 17, 20, 24, 30, 44, 51, 52, 54, 58, 63, 74, 75, 78, 84, 92, 93, 98, 99, 103, 104, 105, 106, 107, 108, 114, 117, 118, 120, 128, 130, 136, 141, 158, 164, 171, 172, 174, 178, 180, 184, 195, 213, 222, 228, 243, 246, 248, 249, 251, 254, 258, 259, 260, 261, 263, 264, 265, 266
Offset: 1

Views

Author

N. J. A. Sloane, Jul 01 2019

Keywords

Comments

Add 1 to the terms of A308887.

Crossrefs

Showing 1-10 of 11 results. Next