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.

A338478 Let b be an odd function such that b(0) = 0, b(1) = 1, and for any n > 1 such that 3^x < 2*n < 3^(x+1) for some x > 0, b(n) = b(3^x-n) - 3^x; a(n) = abs(b(n)) for any n >= 0.

Table of values

n a(n)
0 0
1 1
2 2
3 3
4 4
5 13
6 12
7 11
8 8
9 9
10 10
11 7
12 6
13 5
14 32
15 33
16 34
17 37
18 36
19 35
20 38
21 39
22 40
23 31
24 30
25 29
26 26
27 27
28 28
29 25
30 24
31 23
32 14
33 15
34 16
35 19
36 18
37 17
38 20
39 21
40 22
41 103
42 102
43 101
44 98
45 99
46 100
47 97
48 96
49 95
50 104
51 105
52 106
53 109
54 108
55 107
56 110
57 111
58 112
59 121
60 120
61 119
62 116

List of values

[0, 1, 2, 3, 4, 13, 12, 11, 8, 9, 10, 7, 6, 5, 32, 33, 34, 37, 36, 35, 38, 39, 40, 31, 30, 29, 26, 27, 28, 25, 24, 23, 14, 15, 16, 19, 18, 17, 20, 21, 22, 103, 102, 101, 98, 99, 100, 97, 96, 95, 104, 105, 106, 109, 108, 107, 110, 111, 112, 121, 120, 119, 116]