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.

A370932 For any number n >= 0 with ternary expansion Sum_{i >= 0} t_i * 3^i, a(n) = Sum_{i >= 0} ((Sum_{j >= 0} (-1)^j * t_{i+j}) mod 3) * 3^i.

Table of values

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

List of values

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