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.

A066200 a(1) = 1; for n > 1, a(n) = a(n-1)-(n+2) if this is positive and has not already appeared, otherwise a(n) = a(n-1)+(n+2).

Table of values

n a(n)
1 1
2 5
3 10
4 4
5 11
6 3
7 12
8 2
9 13
10 25
11 38
12 24
13 9
14 25
15 8
16 26
17 7
18 27
19 6
20 28
21 51
22 75
23 50
24 76
25 49
26 21
27 50
28 20
29 51
30 19
31 52
32 18
33 53
34 17
35 54
36 16
37 55
38 15
39 56
40 14
41 57
42 101
43 146
44 100
45 147
46 99
47 148
48 98
49 47
50 99
51 46
52 100
53 45
54 101
55 44
56 102
57 43
58 103
59 42
60 104
61 41
62 105
63 40
64 106
65 39
66 107
67 176

List of values

[1, 5, 10, 4, 11, 3, 12, 2, 13, 25, 38, 24, 9, 25, 8, 26, 7, 27, 6, 28, 51, 75, 50, 76, 49, 21, 50, 20, 51, 19, 52, 18, 53, 17, 54, 16, 55, 15, 56, 14, 57, 101, 146, 100, 147, 99, 148, 98, 47, 99, 46, 100, 45, 101, 44, 102, 43, 103, 42, 104, 41, 105, 40, 106, 39, 107, 176]