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.

A381624 For any nonnegative integer n with ternary expansion Sum_{k >= 0} t_k * 3^k, a(n) = Sum_{k >= 0} t_k * (2^(k+1) - 1).

Table of values

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

List of values

[0, 1, 2, 3, 4, 5, 6, 7, 8, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 15, 16, 17, 18, 19, 20, 21, 22, 15, 16, 17, 18, 19, 20, 21, 22, 23, 22, 23, 24, 25, 26, 27, 28, 29, 30, 29, 30, 31, 32, 33, 34, 35, 36, 37, 30, 31, 32, 33, 34, 35, 36, 37, 38, 37, 38, 39, 40, 41]