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.

A372783 In the ternary expansion of n: keep the initial digit, and then replace 0's with 1's and 1's with 0's.

Table of values

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

List of values

[0, 1, 2, 4, 3, 5, 7, 6, 8, 13, 12, 14, 10, 9, 11, 16, 15, 17, 22, 21, 23, 19, 18, 20, 25, 24, 26, 40, 39, 41, 37, 36, 38, 43, 42, 44, 31, 30, 32, 28, 27, 29, 34, 33, 35, 49, 48, 50, 46, 45, 47, 52, 51, 53, 67, 66, 68, 64, 63, 65, 70, 69, 71, 58, 57, 59, 55, 54]