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.

A318406 For n > 4, a(n) = a(n-1) + a(n-2) if n is even and a(n) = 3*a(n-2) + a(n-4) - a(n-5) if n is odd; a(0) = 0, a(1) = 1, a(2) = 1, a(3) = 2, and a(4) = 3.

Table of values

n a(n)
0 0
1 1
2 1
3 2
4 3
5 7
6 10
7 22
8 32
9 70
10 102
11 222
12 324
13 704
14 1028
15 2232
16 3260
17 7076
18 10336
19 22432
20 32768
21 71112
22 103880
23 225432
24 329312
25 714640
26 1043952
27 2265472
28 3309424
29 7181744
30 10491168
31 22766752
32 33257920
33 72172576
34 105430496
35 228793312
36 334223808
37 725294592
38 1059518400
39 2299246592
40 3358764992

List of values

[0, 1, 1, 2, 3, 7, 10, 22, 32, 70, 102, 222, 324, 704, 1028, 2232, 3260, 7076, 10336, 22432, 32768, 71112, 103880, 225432, 329312, 714640, 1043952, 2265472, 3309424, 7181744, 10491168, 22766752, 33257920, 72172576, 105430496, 228793312, 334223808, 725294592, 1059518400, 2299246592, 3358764992]