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.

A163542 The relative direction (0=straight ahead, 1=turn right, 2=turn left) taken by the type I Hilbert's Hamiltonian walk A163357 at the step n.

Table of values

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

List of values

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