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.

A079052 Recamán variation: a(1) = 1; for n > 1, a(n) = a(n-1)-f(n) if that number is positive and not already in the sequence, otherwise a(n) = a(n-1)+f(n), where f(n)=phi(n) (cf. A000010).

Table of values

n a(n)
1 1
2 2
3 4
4 6
5 10
6 8
7 14
8 18
9 12
10 16
11 26
12 22
13 34
14 28
15 20
16 28
17 44
18 38
19 56
20 48
21 36
22 46
23 24
24 32
25 52
26 40
27 58
28 70
29 42
30 50
31 80
32 64
33 84
34 68
35 92
36 104
37 140
38 122
39 98
40 82
41 122
42 110
43 152
44 132
45 108
46 86
47 132
48 116
49 74
50 54
51 86
52 62
53 114
54 96
55 136
56 112
57 76
58 104
59 162
60 146
61 206
62 176
63 212
64 180
65 228

List of values

[1, 2, 4, 6, 10, 8, 14, 18, 12, 16, 26, 22, 34, 28, 20, 28, 44, 38, 56, 48, 36, 46, 24, 32, 52, 40, 58, 70, 42, 50, 80, 64, 84, 68, 92, 104, 140, 122, 98, 82, 122, 110, 152, 132, 108, 86, 132, 116, 74, 54, 86, 62, 114, 96, 136, 112, 76, 104, 162, 146, 206, 176, 212, 180, 228]