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.

A340131 Numbers whose ternary expansions have the same number of 1's and 2's and, in each prefix (initial fragment), at least as many 1's as 2's.

Table of values

n a(n)
1 0
2 5
3 11
4 15
5 29
6 33
7 44
8 45
9 50
10 83
11 87
12 98
13 99
14 104
15 116
16 128
17 132
18 135
19 140
20 146
21 150
22 245
23 249
24 260
25 261
26 266
27 278
28 290
29 294
30 297
31 302
32 308
33 312
34 332
35 344
36 348
37 377
38 380
39 384
40 395
41 396
42 401
43 405
44 410
45 416
46 420
47 434
48 438
49 449
50 450
51 455
52 731
53 735
54 746
55 747

List of values

[0, 5, 11, 15, 29, 33, 44, 45, 50, 83, 87, 98, 99, 104, 116, 128, 132, 135, 140, 146, 150, 245, 249, 260, 261, 266, 278, 290, 294, 297, 302, 308, 312, 332, 344, 348, 377, 380, 384, 395, 396, 401, 405, 410, 416, 420, 434, 438, 449, 450, 455, 731, 735, 746, 747]