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.

A320770 a(n) = (-1)^floor(n/4) * 2^floor(n/2).

Table of values

n a(n)
0 1
1 1
2 2
3 2
4 -4
5 -4
6 -8
7 -8
8 16
9 16
10 32
11 32
12 -64
13 -64
14 -128
15 -128
16 256
17 256
18 512
19 512
20 -1024
21 -1024
22 -2048
23 -2048
24 4096
25 4096
26 8192
27 8192
28 -16384
29 -16384
30 -32768
31 -32768
32 65536
33 65536
34 131072
35 131072
36 -262144
37 -262144
38 -524288
39 -524288
40 1048576
41 1048576

List of values

[1, 1, 2, 2, -4, -4, -8, -8, 16, 16, 32, 32, -64, -64, -128, -128, 256, 256, 512, 512, -1024, -1024, -2048, -2048, 4096, 4096, 8192, 8192, -16384, -16384, -32768, -32768, 65536, 65536, 131072, 131072, -262144, -262144, -524288, -524288, 1048576, 1048576]