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.

A348911 a(n) is the "w" 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 A348910 gives "real" parts.

Table of values

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

List of values

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