OFFSET
0,2
LINKS
A. Karttunen, Table of n, a(n) for n = 0..3320
E. H. Moore, On Certain Crinkly Curves, Transactions of the American Mathematical Society, volume 1, number 1, 1900, pages 72-90. (And errata.) See section 7 (figure 3 with Y downwards is the table here).
Giuseppe Peano, Sur une courbe, qui remplit toute une aire plane, Mathematische Annalen, volume 36, number 1, 1890, pages 157-160. Also EUDML (link to GDZ).
Rémy Sigrist, Colored scatterplot of (x, y) such that 0 <= x, y < 3^6 (where the hue is function of T(x, y))
Eric Weisstein's World of Mathematics, Hilbert curve (this curve called "Hilbert II").
Wikipedia, Self-avoiding walk
Wikipedia, Space-filling curve
EXAMPLE
The top left 9 X 9 corner of the array shows how this surjective self-avoiding walk begins (connect the terms in numerical order, 0-1-2-3-...):
0 5 6 47 48 53 54 59 60
1 4 7 46 49 52 55 58 61
2 3 8 45 50 51 56 57 62
15 14 9 44 39 38 69 68 63
16 13 10 43 40 37 70 67 64
17 12 11 42 41 36 71 66 65
18 23 24 29 30 35 72 77 78
19 22 25 28 31 34 73 76 79
20 21 26 27 32 33 74 75 80
MATHEMATICA
b[{n_, k_}, {m_}] := (A[n, k] = m - 1);
MapIndexed[b, List @@ PeanoCurve[4][[1]]];
Table[A[n - k, k], {n, 0, 12}, {k, n, 0, -1}] // Flatten (* Jean-François Alcover, Mar 07 2021 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, Jul 29 2009
EXTENSIONS
Name corrected by Kevin Ryde, Aug 28 2020
STATUS
approved