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.

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

List of values

[3, 1, 0, 3, 3, 4, 2, 4, 6, 3, 2, 8, 9, 6, 7, 8, 8, 10, 10, 10, 9, 11, 10, 11, 18, 11, 9, 17, 12, 10, 18, 19, 18, 16, 17, 20, 18, 18, 20, 20, 20, 19, 19, 21, 21, 21, 29, 28, 20, 22, 29, 28, 22, 29, 36, 28, 27, 27, 28, 36, 29, 30, 38, 37, 27, 27, 38, 32, 32, 38, 37, 35, 34, 38, 40, 37, 37, 40, 38, 38, 39]