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.

A115303 a(n) = n if n < 3, otherwise 3*a(floor(n/3)) + 2 - n mod 3.

Table of values

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

List of values

[1, 2, 5, 4, 3, 8, 7, 6, 17, 16, 15, 14, 13, 12, 11, 10, 9, 26, 25, 24, 23, 22, 21, 20, 19, 18, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62]