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.

A102561 a(n) = 2^floor(n/2)*((-1)^floor(n/2) + (-1)^n)/2.

Table of values

n a(n)
0 1
1 0
2 0
3 -2
4 4
5 0
6 0
7 -8
8 16
9 0
10 0
11 -32
12 64
13 0
14 0
15 -128
16 256
17 0
18 0
19 -512
20 1024
21 0
22 0
23 -2048
24 4096
25 0
26 0
27 -8192
28 16384
29 0
30 0
31 -32768
32 65536
33 0
34 0
35 -131072
36 262144
37 0
38 0
39 -524288
40 1048576
41 0
42 0
43 -2097152
44 4194304
45 0
46 0
47 -8388608
48 16777216
49 0
50 0
51 -33554432
52 67108864
53 0
54 0
55 -134217728

List of values

[1, 0, 0, -2, 4, 0, 0, -8, 16, 0, 0, -32, 64, 0, 0, -128, 256, 0, 0, -512, 1024, 0, 0, -2048, 4096, 0, 0, -8192, 16384, 0, 0, -32768, 65536, 0, 0, -131072, 262144, 0, 0, -524288, 1048576, 0, 0, -2097152, 4194304, 0, 0, -8388608, 16777216, 0, 0, -33554432, 67108864, 0, 0, -134217728]