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.

A380820 a(0) = 0, a(1) = 1, and for n >= 2, a(n) = a(n-1) + a(n-2) if a(n-1) < n, otherwise a(n-1) - n.

Table of values

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

List of values

[0, 1, 1, 2, 3, 5, 8, 1, 9, 0, 9, 9, 18, 5, 23, 8, 31, 14, 45, 26, 6, 32, 10, 42, 18, 60, 34, 7, 41, 12, 53, 22, 75, 42, 8, 50, 14, 64, 26, 90, 50, 9, 59, 16, 75, 30, 105, 58, 10, 68, 18, 86, 34, 120, 66, 11, 77, 20, 97, 38, 135, 74, 12, 86, 22, 108, 42, 150]