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

A165465 Positions of zeros in A165464. Fixed points of A166041/A166042.

Original entry on oeis.org

0, 1, 7, 8, 15, 16, 22, 23, 24, 25, 1702855, 1702856, 1702857, 1702872, 1702873, 2220150, 3327583, 3329174, 3329270, 3329271, 3329279
Offset: 0

Views

Author

Antti Karttunen, Oct 06 2009

Keywords

Comments

Consider two immortal sage kings traveling on the infinite chessboard, visiting every square at the leisurely pace of one square per day. Both start their journey at the beginning of the year from the upper left-hand corner square at the day zero (being sages, they can comfortably stay in the same square without bloodshed). One decides to follow the Hilbert curve on his never-ending journey, while the other follows the Peano curve. (These are both illustrated in the entry A166041.) This sequence gives the days when they will meet, when they both come to the same square on the same day.
Both walk first one square towards east, where they meet at Day 1. Then one turns south, while the other one proceeds to the east. However, just six days later, on Day 7, they meet again, at the square (2,1), two squares south and one square east of the starting corner. They also meet the next day (Day 8), as well as another week later (Day 15), and before January is over, they meet still five more times, on Days 16, 22, 23, 24 and 25. However, it takes 4662 years and about three months before they meet again, on three successive days (Days 1702855, 1702856 and 1702857). - Antti Karttunen, Oct 13 2009 [Edited to Hilbert vs Peano by Kevin Ryde, Aug 30 2020]
Subset of A165480. - Antti Karttunen, Oct 13 2009

Crossrefs

A165467 Positions of zeros in A165466. Fixed points of A166043/A166044.

Original entry on oeis.org

0, 8, 9, 105, 1126, 6643718, 6643719, 6643727, 6643728, 6643729, 6643735, 6643736, 6643743, 6643744, 6643745, 6643752, 7746856, 7746857, 7746886, 7746887, 7746888, 7746889, 7747606, 7747718, 7747719, 7747720, 7747737
Offset: 0

Views

Author

Antti Karttunen, Oct 06 2009

Keywords

Comments

Here is a little parable for illustrating the magnitudes of the numbers involved. Consider two immortal sage kings traveling on the infinite chessboard, visiting every square at a leisurely pace of one square per day. Both start their journey at the beginning of the year from the upper left-hand corner square at Day 0 (being sages, they can comfortably stay in the same square). One decides to follow the Hilbert curve (as in A163357) on his never-ending journey, while the other follows the Peano curve (as in A163336; both walks are illustrated in entry A166043). This sequence gives the days when they will meet, when they both arrive at the same square on the same day.
From the corner, one king walks first towards the east, while the other walks towards the south, so their paths diverge at the beginning. However, about a week later (Day 8), they meet again on square (2,2), two squares south and two squares east of the starting corner. The next day they are both traveling towards the south, so they meet also on Day 9, at square (3,2). After that, they meet briefly three months later (Day 105), and also about three years later (Day 1126), after which they loathe each other so much that they both walk in solitude for the next 18189 (eighteen thousand one hundred and eighty nine) years before they meet again, total of eleven times in just about one month's time (days 6643718-6643752). - Antti Karttunen, Oct 13 2009 [Edited to Hilbert vs Peano by Kevin Ryde, Aug 29 2020]

Crossrefs

Subset of A165480. Cf. also A165465, A163901.

A163897 a(n) = A163531(n)-A163547(n).

Original entry on oeis.org

0, 0, 2, 4, -2, -8, -6, 0, 0, 0, 2, 16, 16, 12, 6, 0, 0, 8, 10, 24, 28, 16, 0, 0, 0, 0, 10, 28, 24, 16, 32, 40, 48, 48, 24, 20, -2, -24, -40, -36, -40, -44, -64, -60, -56, -48, -42, -56, -42, -36, -20, -16, -8, 0, 16, 8, 14, 36, 34, 24, 28, 28, 18, 24, 16, 8, -8, 0, -10
Offset: 0

Views

Author

Antti Karttunen, Sep 19 2009

Keywords

Comments

This sequence gives the difference of squares of distance from the origin to the n-th term, in the Peano curve (A163334) and the Hilbert curve (A163357) on an N x N grid. Because the Hilbert curve is based on powers of 4 and the Peano curve on powers of 9, the graph of this sequence contains dramatic swings. [Edited to Peano vs Hilbert by Kevin Ryde, Aug 28 2020]

Crossrefs

Cf. A165480 (positions of 0's).
Showing 1-3 of 3 results.