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.

A174420 Let A(n) = floor((3/2)^n), B(n)=3^n-2^n*A(n); then a(n)=2^n-A(n)-B(n)-2.

Table of values

n a(n)
0 -2
1 -2
2 -1
3 0
4 8
5 4
6 26
7 98
8 68
9 245
10 284
11 941
12 908
13 2921
14 866
15 3038
16 9773
17 95842
18 26864
19 82811
20 776048
21 235984
22 715436
23 2157533
24 14878043
25 27882168
26 16575521
27 116892244
28 82326503
29 515542801
30 1009949246
31 882651721
32 500902958
33 1503356036
34 4511038850
35 13534572662
36 40605902153
37 53101505973
38 21870478820
39 65618808017

List of values

[-2, -2, -1, 0, 8, 4, 26, 98, 68, 245, 284, 941, 908, 2921, 866, 3038, 9773, 95842, 26864, 82811, 776048, 235984, 715436, 2157533, 14878043, 27882168, 16575521, 116892244, 82326503, 515542801, 1009949246, 882651721, 500902958, 1503356036, 4511038850, 13534572662, 40605902153, 53101505973, 21870478820, 65618808017]