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.

A059249 Tersum n + (n-1); write n and n-1 in base 3 and add mod 3 with no carries.

Table of values

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

List of values

[1, 0, 5, 7, 6, 2, 4, 3, 17, 19, 18, 23, 25, 24, 20, 22, 21, 8, 10, 9, 14, 16, 15, 11, 13, 12, 53, 55, 54, 59, 61, 60, 56, 58, 57, 71, 73, 72, 77, 79, 78, 74, 76, 75, 62, 64, 63, 68, 70, 69, 65, 67, 66, 26, 28, 27, 32, 34, 33, 29, 31, 30, 44, 46, 45, 50, 52, 51, 47, 49, 48, 35]