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.

A007420 Berstel sequence: a(n+1) = 2*a(n) - 4*a(n-1) + 4*a(n-2).

Table of values

n a(n)
0 0
1 0
2 1
3 2
4 0
5 -4
6 0
7 16
8 16
9 -32
10 -64
11 64
12 256
13 0
14 -768
15 -512
16 2048
17 3072
18 -4096
19 -12288
20 4096
21 40960
22 16384
23 -114688
24 -131072
25 262144
26 589824
27 -393216
28 -2097152
29 -262144
30 6291456
31 5242880
32 -15728640
33 -27262976
34 29360128
35 104857600
36 -16777216

List of values

[0, 0, 1, 2, 0, -4, 0, 16, 16, -32, -64, 64, 256, 0, -768, -512, 2048, 3072, -4096, -12288, 4096, 40960, 16384, -114688, -131072, 262144, 589824, -393216, -2097152, -262144, 6291456, 5242880, -15728640, -27262976, 29360128, 104857600, -16777216]