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.

A348652 For any nonnegative number n with base-13 expansion Sum_{k >= 0} d_k*13^k, a(n) is the real part of Sum_{k >= 0} g(d_k)*(3+2*i)^k where g(0) = 0, and g(1+u+3*v) = (1+u*i)*i^v for any u = 0..2 and v = 0..3 (where i denotes the imaginary unit); see A348653 for the imaginary part.

Table of values

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

List of values

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