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.

A112387 a(n) = 2^(n/2) if n is even and a(n-1) - a(n-2) if n is odd, a(1) = 1.

Table of values

n a(n)
0 1
1 1
2 2
3 1
4 4
5 3
6 8
7 5
8 16
9 11
10 32
11 21
12 64
13 43
14 128
15 85
16 256
17 171
18 512
19 341
20 1024
21 683
22 2048
23 1365
24 4096
25 2731
26 8192
27 5461
28 16384
29 10923
30 32768
31 21845
32 65536
33 43691
34 131072
35 87381
36 262144
37 174763
38 524288
39 349525
40 1048576
41 699051
42 2097152
43 1398101
44 4194304

List of values

[1, 1, 2, 1, 4, 3, 8, 5, 16, 11, 32, 21, 64, 43, 128, 85, 256, 171, 512, 341, 1024, 683, 2048, 1365, 4096, 2731, 8192, 5461, 16384, 10923, 32768, 21845, 65536, 43691, 131072, 87381, 262144, 174763, 524288, 349525, 1048576, 699051, 2097152, 1398101, 4194304]