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.

A271478 If n is even, a(n)=n/2, otherwise 2*n+2.

Table of values

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

List of values

[0, 4, 1, 8, 2, 12, 3, 16, 4, 20, 5, 24, 6, 28, 7, 32, 8, 36, 9, 40, 10, 44, 11, 48, 12, 52, 13, 56, 14, 60, 15, 64, 16, 68, 17, 72, 18, 76, 19, 80, 20, 84, 21, 88, 22, 92, 23, 96, 24, 100, 25, 104, 26, 108, 27, 112, 28, 116, 29, 120, 30, 124, 31, 128, 32, 132, 33, 136, 34, 140, 35]