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.

A332413 a(n) is the imaginary 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 A332412 gives real parts.

Table of values

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

List of values

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