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.

A107767 a(n) = (1 + 3^n - 2*3^(n/2))/4 if n is even, (1 + 3^n - 4*3^((n-1)/2))/4 if n odd.

Table of values

n a(n)
1 0
2 1
3 4
4 16
5 52
6 169
7 520
8 1600
9 4840
10 14641
11 44044
12 132496
13 397852
14 1194649
15 3585040
16 10758400
17 32278480
18 96845281
19 290545684
20 871666576
21 2615029252
22 7845176329
23 23535617560
24 70607118400
25 211821620920
26 635465659921

List of values

[0, 1, 4, 16, 52, 169, 520, 1600, 4840, 14641, 44044, 132496, 397852, 1194649, 3585040, 10758400, 32278480, 96845281, 290545684, 871666576, 2615029252, 7845176329, 23535617560, 70607118400, 211821620920, 635465659921]