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.

A129804 a(0) = 1, a(1) = 2; for n>0, a(2*n) = 3*a(2*n-1) - a(2*n-2), a(2*n+1) = 3*a(2*n) - a(2*n-1) - a(n-1).

Table of values

n a(n)
0 1
1 2
2 5
3 12
4 31
5 79
6 206
7 534
8 1396
9 3642
10 9530
11 24917
12 65221
13 170667
14 446780
15 1169467
16 3061621
17 8014862
18 20982965
19 54932637
20 143814946
21 376508559
22 985710731
23 2580614104
24 6756131581
25 17687755722
26 46307135585
27 121233585812

List of values

[1, 2, 5, 12, 31, 79, 206, 534, 1396, 3642, 9530, 24917, 65221, 170667, 446780, 1169467, 3061621, 8014862, 20982965, 54932637, 143814946, 376508559, 985710731, 2580614104, 6756131581, 17687755722, 46307135585, 121233585812]