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.

A348917 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) = (2 + w)^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 A348916 gives "real" parts.

Table of values

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

List of values

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