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.

A328749 a(n) = Sum_{k = 0..w and t_k > 0} (-1)^t_k * 2^k, where Sum_{k = 0..w} t_k * 3^k is the ternary representation of n.

Table of values

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

List of values

[0, -1, 1, -2, -3, -1, 2, 1, 3, -4, -5, -3, -6, -7, -5, -2, -3, -1, 4, 3, 5, 2, 1, 3, 6, 5, 7, -8, -9, -7, -10, -11, -9, -6, -7, -5, -12, -13, -11, -14, -15, -13, -10, -11, -9, -4, -5, -3, -6, -7, -5, -2, -3, -1, 8, 7, 9, 6, 5, 7, 10, 9, 11, 4, 3, 5, 2, 1, 3, 6]