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.

A022998 If n is odd then n, otherwise 2n.

Table of values

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

List of values

[0, 1, 4, 3, 8, 5, 12, 7, 16, 9, 20, 11, 24, 13, 28, 15, 32, 17, 36, 19, 40, 21, 44, 23, 48, 25, 52, 27, 56, 29, 60, 31, 64, 33, 68, 35, 72, 37, 76, 39, 80, 41, 84, 43, 88, 45, 92, 47, 96, 49, 100, 51, 104, 53, 108, 55, 112, 57, 116, 59, 120, 61, 124, 63, 128, 65, 132, 67]