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.

A181586 a(0)=0; a(n+1) = 2*a(n) + period 4:repeat 0,1,-2,1.

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 1
5 2
6 5
7 8
8 17
9 34
10 69
11 136
12 273
13 546
14 1093
15 2184
16 4369
17 8738
18 17477
19 34952
20 69905
21 139810
22 279621
23 559240
24 1118481
25 2236962
26 4473925
27 8947848
28 17895697
29 35791394
30 71582789
31 143165576
32 286331153
33 572662306
34 1145324613
35 2290649224

List of values

[0, 0, 1, 0, 1, 2, 5, 8, 17, 34, 69, 136, 273, 546, 1093, 2184, 4369, 8738, 17477, 34952, 69905, 139810, 279621, 559240, 1118481, 2236962, 4473925, 8947848, 17895697, 35791394, 71582789, 143165576, 286331153, 572662306, 1145324613, 2290649224]