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.

A037844 Sum{d(i-1)-d(i): d(i) where Sum{d(i)*3^i: i=0,1,...,m} is base 3 representation of n.

Table of values

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

List of values

[0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 2, 0, 0, 1, 1, 1, 1, 0, 1, 2, 0, 0, 1, 0, 0, 0, 0, 1, 2, 1, 1, 2, 2, 2, 2, 0, 1, 2, 0, 0, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 1, 0, 1, 2, 1, 1, 2, 2, 2, 2, 0, 1, 2, 0, 0, 1, 1, 1, 1, 0, 1, 2, 0, 0, 1, 0, 0, 0, 0, 1, 2, 1, 1, 2, 2, 2, 2, 1]