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.

A229764 Nim sequence of MARK: the game on n counters in which the legal moves are to remove 1 counter or to halve the number of counters and round down.

Table of values

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

List of values

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