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.

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

Table of values

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

List of values

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