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.

A246370 a(1)=0, a(p_n) = 1 + a(n), a(c_n) = a(n), where p_n = n-th prime = A000040(n), c_n = n-th composite number = A002808(n); Also number of nonleading 0-bits in the binary representation of A135141(n).

Table of values

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

List of values

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