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.

A118816 A fractal sequence based upon powers of 3.

Table of values

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

List of values

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