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.

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

Table of values

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

List of values

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