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.

A343605 a(n) is the greatest number < n with the same sum of balanced ternary digits as n.

Table of values

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

List of values

[-2, -5, 0, 1, -14, -1, 2, 3, 6, 7, 4, 9, 10, -41, -4, 5, 8, 15, 16, 11, 18, 19, 12, 17, 20, 21, 24, 25, 22, 27, 28, 13, 26, 29, 30, 33, 34, 31, 36, 37, -122, -13, 14, 23, 42, 43, 32, 45, 46, 35, 44, 47, 48, 51, 52, 49, 54, 55, 38, 53, 56, 57, 60, 61, 58, 63]