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.

A151914 a(0)=0, a(1)=4; for n>=2, a(n) = (8/3)*(Sum_{i=1..n-1} 3^wt(i)) + 4, where wt() = A000120().

Table of values

n a(n)
0 0
1 4
2 12
3 20
4 44
5 52
6 76
7 100
8 172
9 180
10 204
11 228
12 300
13 324
14 396
15 468
16 684
17 692
18 716
19 740
20 812
21 836
22 908
23 980
24 1196
25 1220
26 1292
27 1364
28 1580
29 1652
30 1868
31 2084
32 2732
33 2740
34 2764
35 2788
36 2860
37 2884
38 2956
39 3028
40 3244
41 3268
42 3340
43 3412
44 3628
45 3700
46 3916
47 4132
48 4780

List of values

[0, 4, 12, 20, 44, 52, 76, 100, 172, 180, 204, 228, 300, 324, 396, 468, 684, 692, 716, 740, 812, 836, 908, 980, 1196, 1220, 1292, 1364, 1580, 1652, 1868, 2084, 2732, 2740, 2764, 2788, 2860, 2884, 2956, 3028, 3244, 3268, 3340, 3412, 3628, 3700, 3916, 4132, 4780]