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.

A240162 Tower of 3's modulo n.

Table of values

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

List of values

[0, 1, 0, 3, 2, 3, 6, 3, 0, 7, 9, 3, 1, 13, 12, 11, 7, 9, 18, 7, 6, 9, 18, 3, 12, 1, 0, 27, 10, 27, 23, 27, 9, 7, 27, 27, 36, 37, 27, 27, 27, 27, 2, 31, 27, 41, 6, 27, 6, 37, 24, 27, 50, 27, 42, 27, 18, 39, 49, 27, 52, 23, 27, 59, 27, 9, 52, 7, 18, 27, 49, 27]