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.

A381962 Irregular triangle read by rows, where row n lists the iterates of f(x), starting at x = n until f(x) <= 1, where f(x) is the Hamming weight of x (A000120).

Table of values

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

List of values

[0, 1, 2, 1, 3, 2, 1, 4, 1, 5, 2, 1, 6, 2, 1, 7, 3, 2, 1, 8, 1, 9, 2, 1, 10, 2, 1, 11, 3, 2, 1, 12, 2, 1, 13, 3, 2, 1, 14, 3, 2, 1, 15, 4, 1, 16, 1, 17, 2, 1, 18, 2, 1, 19, 3, 2, 1, 20, 2, 1, 21, 3, 2, 1, 22, 3, 2, 1, 23, 4, 1, 24, 2, 1, 25, 3, 2, 1, 26, 3, 2, 1]