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.

A386969 A variant of Recamán's sequence (A005132): a(0) = 0; for n > 0, a(n) = a(n-1) - n if nonnegative and not already in the sequence, otherwise a(n) = a(n-1) + n + 3.

Table of values

n a(n)
0 0
1 4
2 2
3 8
4 15
5 10
6 19
7 12
8 23
9 14
10 27
11 16
12 31
13 18
14 35
15 20
16 39
17 22
18 43
19 24
20 47
21 26
22 51
23 28
24 55
25 30
26 59
27 32
28 63
29 34
30 67
31 36
32 71
33 38
34 75
35 40
36 79
37 42
38 83
39 44
40 87
41 46
42 91
43 48
44 95
45 50
46 99
47 52
48 103
49 54
50 107
51 56
52 111
53 58
54 115
55 60
56 119
57 62
58 123
59 64
60 127
61 66
62 131
63 68
64 135
65 70
66 139
67 72
68 143
69 74
70 147
71 76
72 151

List of values

[0, 4, 2, 8, 15, 10, 19, 12, 23, 14, 27, 16, 31, 18, 35, 20, 39, 22, 43, 24, 47, 26, 51, 28, 55, 30, 59, 32, 63, 34, 67, 36, 71, 38, 75, 40, 79, 42, 83, 44, 87, 46, 91, 48, 95, 50, 99, 52, 103, 54, 107, 56, 111, 58, 115, 60, 119, 62, 123, 64, 127, 66, 131, 68, 135, 70, 139, 72, 143, 74, 147, 76, 151]