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.

A355640 a(0) = 0, and for any n > 0, a(n) is the least positive multiple of n whose balanced ternary expansion contains as many negative trits as positive trits.

Table of values

n a(n)
0 0
1 2
2 2
3 6
4 8
5 20
6 6
7 56
8 8
9 18
10 20
11 154
12 24
13 26
14 56
15 60
16 16
17 136
18 18
19 266
20 20
21 168
22 154
23 46
24 24
25 400
26 26
27 54
28 56
29 232
30 60
31 62
32 32
33 462
34 136
35 70
36 72
37 74
38 266
39 78
40 80
41 164
42 168
43 86
44 440
45 180
46 46
47 188
48 48
49 98
50 400
51 408
52 52
53 424
54 54
55 440
56 56
57 798
58 232
59 236
60 60

List of values

[0, 2, 2, 6, 8, 20, 6, 56, 8, 18, 20, 154, 24, 26, 56, 60, 16, 136, 18, 266, 20, 168, 154, 46, 24, 400, 26, 54, 56, 232, 60, 62, 32, 462, 136, 70, 72, 74, 266, 78, 80, 164, 168, 86, 440, 180, 46, 188, 48, 98, 400, 408, 52, 424, 54, 440, 56, 798, 232, 236, 60]