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.

A384868 a(n) = Sum_{i=1...|b|} i*(-1)^b_i where b is the lexicographically n-th binary string.

Table of values

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

List of values

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