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.

A085059 a(1) = 1, a(n+1) = a(n)-n if a(n) > n else a(n+1) = a(n) + n.

Table of values

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

List of values

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