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.

A374336 a(n) is the numerator of x(n) = (2*x(n-1) + c(n)) mod 1, where c(n) = 1/n if n is a power of 3 and 0 otherwise, with x(0) = 0.

Table of values

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

List of values

[0, 0, 0, 1, 2, 1, 2, 1, 2, 4, 8, 7, 5, 1, 2, 4, 8, 7, 5, 1, 2, 4, 8, 7, 5, 1, 2, 13, 26, 25, 23, 19, 11, 22, 17, 7, 14, 1, 2, 4, 8, 16, 5, 10, 20, 13, 26, 25, 23, 19, 11, 22, 17, 7, 14, 1, 2, 4, 8, 16, 5, 10, 20, 13, 26, 25, 23, 19, 11, 22, 17, 7, 14, 1, 2, 4]