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.

A300956 a(0) = 0, a(1) = 2, a(2) = 1, and for any n > 2 with ternary representation n = Sum_{i=0..k} t_i * 3^i, a(n) = Sum_{i=0..k} a(t_i) * 3^a(i).

Table of values

n a(n)
0 0
1 2
2 1
3 18
4 20
5 19
6 9
7 11
8 10
9 6
10 8
11 7
12 24
13 26
14 25
15 15
16 17
17 16
18 3
19 5
20 4
21 21
22 23
23 22
24 12
25 14
26 13
27 774840978
28 774840980
29 774840979
30 774840996
31 774840998
32 774840997
33 774840987
34 774840989
35 774840988
36 774840984
37 774840986
38 774840985
39 774841002
40 774841004

List of values

[0, 2, 1, 18, 20, 19, 9, 11, 10, 6, 8, 7, 24, 26, 25, 15, 17, 16, 3, 5, 4, 21, 23, 22, 12, 14, 13, 774840978, 774840980, 774840979, 774840996, 774840998, 774840997, 774840987, 774840989, 774840988, 774840984, 774840986, 774840985, 774841002, 774841004]