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.

A335933 A fractal function, related to ruler functions. a(1) = 0; otherwise for m >= 0, a(3m) = 1, a(3m-1) = a(2m-1) + sign(a(2m-1)), a(3m+1) = a(2m+1) + sign(a(2m+1)).

Table of values

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

List of values

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