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.

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

Table of values

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

List of values

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