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.

A334889 a(n) = Sum_{k >= 0} f(d_k) * 3^k where Sum_{k >= 0} d_k * 8^k is the base 8 representation of n and f(k) = 0, 0, 0, 1, 2, 2, 2, 1 for k = 0..7, respectively.

Table of values

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

List of values

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