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.

A341312 a(n) = a(n-1) + a(n-3) unless a(n-1) and a(n-3) are both even in which case a(n) = (a(n-1) + a(n-3))/2, with a(0) = a(1) = a(2) = 1.

Table of values

n a(n)
0 1
1 1
2 1
3 2
4 3
5 4
6 3
7 6
8 5
9 8
10 7
11 12
12 10
13 17
14 29
15 39
16 56
17 85
18 124
19 90
20 175
21 299
22 389
23 564
24 863
25 1252
26 908
27 1771
28 3023
29 3931
30 5702
31 8725
32 12656
33 9179
34 17904
35 15280
36 24459
37 42363
38 57643
39 82102
40 124465
41 182108
42 132105
43 256570
44 219339
45 351444
46 304007
47 523346
48 437395
49 741402
50 632374

List of values

[1, 1, 1, 2, 3, 4, 3, 6, 5, 8, 7, 12, 10, 17, 29, 39, 56, 85, 124, 90, 175, 299, 389, 564, 863, 1252, 908, 1771, 3023, 3931, 5702, 8725, 12656, 9179, 17904, 15280, 24459, 42363, 57643, 82102, 124465, 182108, 132105, 256570, 219339, 351444, 304007, 523346, 437395, 741402, 632374]