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.

A348910 a(n) is the "real" part of f(n) = Sum_{k>=0, d_k>0} w^(d_k-1) * (-2)^k where Sum_{k>=0} d_k * 4^k is the base-4 representation of n and w = -1/2 + sqrt(-3)/2 is a primitive cube root of unity; sequence A348911 gives "w" parts.

Table of values

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

List of values

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