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.

A348920 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) = (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 A348921 gives "w" parts.

Table of values

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

List of values

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