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.

A246369 a(1)=0, a(p_n) = a(n), a(c_n) = 1 + a(n), where p_n = n-th prime = A000040(n), c_n = n-th composite number = A002808(n); Also one less than the binary weight of terms of A135141.

Table of values

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

List of values

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