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.

A094918 a(n) = (3^n-1)/2 mod n.

Table of values

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

List of values

[0, 0, 1, 0, 1, 4, 1, 0, 4, 4, 1, 4, 1, 4, 13, 0, 1, 4, 1, 0, 13, 4, 1, 16, 21, 4, 13, 12, 1, 4, 1, 0, 13, 4, 23, 4, 1, 4, 13, 0, 1, 28, 1, 40, 31, 4, 1, 16, 15, 24, 13, 40, 1, 40, 33, 32, 13, 4, 1, 40, 1, 4, 13, 0, 56, 34, 1, 40, 13, 54, 1, 40, 1, 4, 28, 40, 37, 52, 1, 0, 40, 4, 1, 28, 36, 4, 13, 24]