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.

A037862 a(n)=(number of digits <=1)-(number of digits >1) in base 3 representation of n.

Table of values

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

List of values

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