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.

A332412 a(n) is the real part of f(n) = Sum_{d_k > 0} 3^k * i^(d_k-1) where Sum_{k >= 0} 5^k * d_k is the base 5 representation of n and i denotes the imaginary unit. Sequence A332413 gives imaginary parts.

Table of values

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

List of values

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