login
A396975
Follow along the squares in the Hilbert curve. Place a chess king at each square that is not attacked by an existing king. This sequence gives the squares occupied by the kings.
1
0, 4, 8, 14, 16, 20, 24, 30, 32, 36, 40, 46, 49, 54, 58, 60, 64, 70, 74, 76, 82, 85, 89, 92, 97, 101, 104, 111, 113, 119, 123, 127, 130, 133, 137, 140, 146, 149, 153, 156, 161, 165, 168, 175, 177, 183, 187, 191, 194, 197, 201, 204, 210, 214, 218, 220, 225, 230
OFFSET
1,2
LINKS
Rémy Sigrist, Representation of the first terms (the color is function of x mod 2, y mod 2)
Rémy Sigrist, PARI program
EXAMPLE
The Hilbert curve begins:
.---. 49---.---. .---.---.
| | | | |
60---. .---. 46---. 40---.
| | |
. .---. . .---. .---.
| | | | | | |
58---. 54---. 32 .--36---.
|
.---. .---. . .---.---.
| | | | | | |
4 .---8 . 30---. 24---.
| | |
.---. .---. .---. .---.
| | | | |
0---. 14---.--16 .--20---.
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jun 12 2026
STATUS
approved