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.

A014586 Nim-Grundy function for Take-a-Square (or Subtract-a-Square) game.

Table of values

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

List of values

[0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 3, 2, 3, 4, 5, 3, 2, 3, 4, 0, 1, 2, 3, 2, 0, 1, 2, 3, 2, 0, 1, 2, 3, 2, 3, 4, 5, 0, 1, 3, 4, 5, 0, 1, 3, 4, 5, 0, 1, 3, 0, 1, 0, 1, 2, 4, 3, 0, 1, 5, 6, 2, 3, 4, 5, 6, 2, 3, 4, 5, 0, 1, 6, 3, 2, 4, 2, 6, 4, 5, 0, 1, 6, 4]