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.

A255072 Number of steps to reach 0 starting with n and using the iterated process: x -> x - (number of runs in binary representation of x).

Table of values

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

List of values

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