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.

A135351 a(n) = (2^n + 3 - 7*(-1)^n + 3*0^n)/6; or a(0) = 0 and for n > 0, a(n) = A005578(n-1) - (-1)^n.

Table of values

n a(n)
0 0
1 2
2 0
3 3
4 2
5 7
6 10
7 23
8 42
9 87
10 170
11 343
12 682
13 1367
14 2730
15 5463
16 10922
17 21847
18 43690
19 87383
20 174762
21 349527
22 699050
23 1398103
24 2796202
25 5592407
26 11184810
27 22369623
28 44739242
29 89478487
30 178956970
31 357913943
32 715827882
33 1431655767
34 2863311530
35 5726623063
36 11453246122
37 22906492247
38 45812984490

List of values

[0, 2, 0, 3, 2, 7, 10, 23, 42, 87, 170, 343, 682, 1367, 2730, 5463, 10922, 21847, 43690, 87383, 174762, 349527, 699050, 1398103, 2796202, 5592407, 11184810, 22369623, 44739242, 89478487, 178956970, 357913943, 715827882, 1431655767, 2863311530, 5726623063, 11453246122, 22906492247, 45812984490]