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.

A321220 a(n) = n+2 if n is even, otherwise a(n) = 2*n+1 if n is odd.

Table of values

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

List of values

[2, 3, 4, 7, 6, 11, 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]