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.

A014682 The Collatz or 3x+1 function: a(n) = n/2 if n is even, otherwise (3n+1)/2.

Table of values

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

List of values

[0, 2, 1, 5, 2, 8, 3, 11, 4, 14, 5, 17, 6, 20, 7, 23, 8, 26, 9, 29, 10, 32, 11, 35, 12, 38, 13, 41, 14, 44, 15, 47, 16, 50, 17, 53, 18, 56, 19, 59, 20, 62, 21, 65, 22, 68, 23, 71, 24, 74, 25, 77, 26, 80, 27, 83, 28, 86, 29, 89, 30, 92, 31, 95, 32, 98, 33, 101, 34, 104]