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.

A163540 The absolute direction (0=east, 1=south, 2=west, 3=north) taken by the type I Hilbert's Hamiltonian walk A163357 at the step n.

Table of values

n a(n)
1 0
2 1
3 2
4 1
5 1
6 0
7 3
8 0
9 1
10 0
11 3
12 3
13 2
14 3
15 0
16 0
17 1
18 0
19 3
20 0
21 0
22 1
23 2
24 1
25 0
26 1
27 2
28 2
29 3
30 2
31 1
32 1
33 1
34 0
35 3
36 0
37 0
38 1
39 2
40 1
41 0
42 1
43 2
44 2
45 3
46 2
47 1
48 2
49 2
50 3
51 0
52 3
53 3
54 2
55 1
56 2
57 3
58 2
59 1
60 1
61 0
62 1
63 2
64 1
65 1
66 0
67 3
68 0
69 0
70 1
71 2
72 1
73 0
74 1
75 2
76 2
77 3
78 2
79 1
80 1
81 0
82 1
83 2
84 1
85 1
86 0
87 3
88 0
89 1
90 0
91 3
92 3
93 2
94 3
95 0
96 0
97 0
98 1
99 2
100 1
101 1
102 0

List of values

[0, 1, 2, 1, 1, 0, 3, 0, 1, 0, 3, 3, 2, 3, 0, 0, 1, 0, 3, 0, 0, 1, 2, 1, 0, 1, 2, 2, 3, 2, 1, 1, 1, 0, 3, 0, 0, 1, 2, 1, 0, 1, 2, 2, 3, 2, 1, 2, 2, 3, 0, 3, 3, 2, 1, 2, 3, 2, 1, 1, 0, 1, 2, 1, 1, 0, 3, 0, 0, 1, 2, 1, 0, 1, 2, 2, 3, 2, 1, 1, 0, 1, 2, 1, 1, 0, 3, 0, 1, 0, 3, 3, 2, 3, 0, 0, 0, 1, 2, 1, 1, 0]