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.

A240828 a(1)=a(2)=0, a(3)=2; thereafter a(n) = Sum( a(n-i-s-a(n-i-1)), i=0..k-1 ), where s=0, k=3.

Table of values

n a(n)
1 0
2 0
3 2
4 2
5 4
6 2
7 6
8 4
9 8
10 4
11 10
12 6
13 12
14 6
15 14
16 8
17 16
18 8
19 18
20 10
21 20
22 10
23 22
24 12
25 24
26 12
27 26
28 14
29 28
30 14
31 30
32 16
33 32
34 16
35 34
36 18
37 36
38 18
39 38
40 20
41 40
42 20
43 42
44 22
45 44
46 22
47 46
48 24
49 48
50 24
51 50
52 26
53 52
54 26
55 54
56 28
57 56
58 28
59 58
60 30
61 60
62 30
63 62
64 32
65 64
66 32
67 66
68 34
69 68
70 34
71 70
72 36
73 72
74 36
75 74
76 38
77 76
78 38
79 78
80 40
81 80
82 40

List of values

[0, 0, 2, 2, 4, 2, 6, 4, 8, 4, 10, 6, 12, 6, 14, 8, 16, 8, 18, 10, 20, 10, 22, 12, 24, 12, 26, 14, 28, 14, 30, 16, 32, 16, 34, 18, 36, 18, 38, 20, 40, 20, 42, 22, 44, 22, 46, 24, 48, 24, 50, 26, 52, 26, 54, 28, 56, 28, 58, 30, 60, 30, 62, 32, 64, 32, 66, 34, 68, 34, 70, 36, 72, 36, 74, 38, 76, 38, 78, 40, 80, 40]