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.

A135993 a(0) = 0; a(n) = (floor(n/S2(n))) mod 2 for n >= 1, where S2(n) is the binary weight of n.

Table of values

n a(n)
0 0
1 1
2 0
3 1
4 0
5 0
6 1
7 0
8 0
9 0
10 1
11 1
12 0
13 0
14 0
15 1
16 0
17 0
18 1
19 0
20 0
21 1
22 1
23 1
24 0
25 0
26 0
27 0
28 1
29 1
30 1
31 0
32 0
33 0
34 1
35 1
36 0
37 0
38 0
39 1
40 0
41 1
42 0
43 0
44 0
45 1
46 1
47 1
48 0
49 0
50 0
51 0
52 1
53 1
54 1
55 1
56 0
57 0
58 0
59 1
60 1
61 0
62 0
63 0
64 0
65 0
66 1
67 0
68 0
69 1
70 1

List of values

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