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.

A307744 A fractal function, related to ruler functions and the Cantor set. a(1) = 0; for m >= 0, a(3m) = 1; for m >= 1, a(3m-1) = a(m-1) + sign(a(m-1)), a(3m+1) = a(m+1) + sign(a(m+1)).

Table of values

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

List of values

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