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.

A244478 a(0)=2, a(1)=0, a(2)=2; thereafter a(n) = a(n-1-a(n-1))+a(n-2-a(n-2)) unless a(n-1) <= n-1 or a(n-2) <= n-2 in which case the sequence terminates.

Table of values

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

List of values

[2, 0, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 8, 8, 8, 8, 8, 8, 10, 10, 10, 12, 12, 12, 12, 14, 14, 14, 16, 16, 16, 16, 16, 16, 16, 18, 18, 18, 20, 20, 20, 20, 22, 22, 22, 24, 24, 24, 24, 24, 26, 26, 26, 28, 28, 28, 28, 30, 30, 30, 32, 32, 32, 32, 32, 32, 32, 32, 34, 34, 34, 36, 36, 36, 36, 38, 38, 38]