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.

A080782 a(1)=1, a(n)=a(n-1)-1 if n is already in the sequence, a(n)=a(n-1)+2 otherwise.

Table of values

n a(n)
1 1
2 3
3 2
4 4
5 6
6 5
7 7
8 9
9 8
10 10
11 12
12 11
13 13
14 15
15 14
16 16
17 18
18 17
19 19
20 21
21 20
22 22
23 24
24 23
25 25
26 27
27 26
28 28
29 30
30 29
31 31
32 33
33 32
34 34
35 36
36 35
37 37
38 39
39 38
40 40
41 42
42 41
43 43
44 45
45 44
46 46
47 48
48 47
49 49
50 51
51 50
52 52
53 54
54 53
55 55
56 57
57 56
58 58
59 60
60 59
61 61
62 63
63 62
64 64
65 66
66 65
67 67
68 69
69 68

List of values

[1, 3, 2, 4, 6, 5, 7, 9, 8, 10, 12, 11, 13, 15, 14, 16, 18, 17, 19, 21, 20, 22, 24, 23, 25, 27, 26, 28, 30, 29, 31, 33, 32, 34, 36, 35, 37, 39, 38, 40, 42, 41, 43, 45, 44, 46, 48, 47, 49, 51, 50, 52, 54, 53, 55, 57, 56, 58, 60, 59, 61, 63, 62, 64, 66, 65, 67, 69, 68]