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.

A008344 a(1)=0; thereafter a(n+1) = a(n) - n if a(n) >= n otherwise a(n+1) = a(n) + n.

Table of values

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

List of values

[0, 1, 3, 0, 4, 9, 3, 10, 2, 11, 1, 12, 0, 13, 27, 12, 28, 11, 29, 10, 30, 9, 31, 8, 32, 7, 33, 6, 34, 5, 35, 4, 36, 3, 37, 2, 38, 1, 39, 0, 40, 81, 39, 82, 38, 83, 37, 84, 36, 85, 35, 86, 34, 87, 33, 88, 32, 89, 31, 90, 30, 91, 29, 92, 28, 93, 27, 94, 26, 95, 25, 96, 24, 97, 23, 98]