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.

A265918 a(n) = A070939(n) mod A000120(n), where A070939(n) is the binary length of n and A000120(n) is the binary weight of n.

Table of values

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

List of values

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