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.

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

Table of values

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

List of values

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