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.

A151842 a(3n) = n, a(3n+1) = 2n+1, a(3n+2) = n+1.

Table of values

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

List of values

[0, 1, 1, 1, 3, 2, 2, 5, 3, 3, 7, 4, 4, 9, 5, 5, 11, 6, 6, 13, 7, 7, 15, 8, 8, 17, 9, 9, 19, 10, 10, 21, 11, 11, 23, 12, 12, 25, 13, 13, 27, 14, 14, 29, 15, 15, 31, 16, 16, 33, 17, 17, 35, 18, 18, 37, 19, 19, 39, 20, 20, 41, 21, 21, 43, 22, 22, 45, 23, 23, 47]