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.

A166978 a(n) = 4*( 1-(-1)^n) -2^n.

Table of values

n a(n)
0 -1
1 6
2 -4
3 0
4 -16
5 -24
6 -64
7 -120
8 -256
9 -504
10 -1024
11 -2040
12 -4096
13 -8184
14 -16384
15 -32760
16 -65536
17 -131064
18 -262144
19 -524280
20 -1048576
21 -2097144
22 -4194304
23 -8388600
24 -16777216
25 -33554424
26 -67108864
27 -134217720
28 -268435456
29 -536870904
30 -1073741824
31 -2147483640

List of values

[-1, 6, -4, 0, -16, -24, -64, -120, -256, -504, -1024, -2040, -4096, -8184, -16384, -32760, -65536, -131064, -262144, -524280, -1048576, -2097144, -4194304, -8388600, -16777216, -33554424, -67108864, -134217720, -268435456, -536870904, -1073741824, -2147483640]