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.

A355639 a(n) is the least k > 0 such that the balanced ternary expansion of k*n contains as many negative trits as positive trits.

Table of values

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

List of values

[1, 2, 1, 2, 2, 4, 1, 8, 1, 2, 2, 14, 2, 2, 4, 4, 1, 8, 1, 14, 1, 8, 7, 2, 1, 16, 1, 2, 2, 8, 2, 2, 1, 14, 4, 2, 2, 2, 7, 2, 2, 4, 4, 2, 10, 4, 1, 4, 1, 2, 8, 8, 1, 8, 1, 8, 1, 14, 4, 4, 1, 8, 1, 8, 5, 2, 7, 14, 2, 2, 1, 2, 1, 2, 1, 16, 7, 2, 1, 8, 1, 2, 2, 8]