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.

A376930 a(0)=0, a(1)=1; for n>1, a(n) = a(n-1)+a(n-2), except where a(n-1) is a prime greater than 2, in which case a(n) = a(n-1)-a(n-2).

Table of values

n a(n)
0 0
1 1
2 1
3 2
4 3
5 1
6 4
7 5
8 1
9 6
10 7
11 1
12 8
13 9
14 17
15 8
16 25
17 33
18 58
19 91
20 149
21 58
22 207
23 265
24 472
25 737
26 1209
27 1946
28 3155
29 5101
30 1946
31 7047
32 8993
33 16040
34 25033
35 8993
36 34026
37 43019
38 8993
39 52012
40 61005
41 113017
42 52012
43 165029
44 217041
45 382070
46 599111
47 981181
48 1580292
49 2561473

List of values

[0, 1, 1, 2, 3, 1, 4, 5, 1, 6, 7, 1, 8, 9, 17, 8, 25, 33, 58, 91, 149, 58, 207, 265, 472, 737, 1209, 1946, 3155, 5101, 1946, 7047, 8993, 16040, 25033, 8993, 34026, 43019, 8993, 52012, 61005, 113017, 52012, 165029, 217041, 382070, 599111, 981181, 1580292, 2561473]