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.

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

Table of values

n a(n)
0 1
1 1
2 0
3 2
4 5
5 12
6 22
7 43
8 84
9 170
10 341
11 684
12 1366
13 2731
14 5460
15 10922
16 21845
17 43692
18 87382
19 174763
20 349524
21 699050
22 1398101
23 2796204
24 5592406
25 11184811
26 22369620
27 44739242
28 89478485
29 178956972
30 357913942
31 715827883
32 1431655764
33 2863311530

List of values

[1, 1, 0, 2, 5, 12, 22, 43, 84, 170, 341, 684, 1366, 2731, 5460, 10922, 21845, 43692, 87382, 174763, 349524, 699050, 1398101, 2796204, 5592406, 11184811, 22369620, 44739242, 89478485, 178956972, 357913942, 715827883, 1431655764, 2863311530]