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.

A117824 a(0) = 0, a(1) = 1; for n >= 2, a(n) = a(n-1) + a(n-2) - (n-1) if that number is positive and not already in the sequence, otherwise a(n) = a(n-1) + a(n-2) + (n-1).

Table of values

n a(n)
0 0
1 1
2 2
3 5
4 4
5 13
6 12
7 19
8 24
9 35
10 50
11 75
12 114
13 177
14 278
15 441
16 704
17 1129
18 1816
19 2927
20 4724
21 7631
22 12334
23 19943
24 32254
25 52173
26 84402
27 136549
28 220924
29 357445
30 578340
31 935755
32 1514064
33 2449787
34 3963818
35 6413571
36 10377354
37 16790889
38 27168206
39 43959057

List of values

[0, 1, 2, 5, 4, 13, 12, 19, 24, 35, 50, 75, 114, 177, 278, 441, 704, 1129, 1816, 2927, 4724, 7631, 12334, 19943, 32254, 52173, 84402, 136549, 220924, 357445, 578340, 935755, 1514064, 2449787, 3963818, 6413571, 10377354, 16790889, 27168206, 43959057]