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.

A197943 Greatest residue of x^(n-1) (mod n), x=0..n-1.

Table of values

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

List of values

[0, 1, 1, 3, 1, 5, 1, 7, 7, 9, 1, 11, 1, 13, 10, 15, 1, 17, 1, 19, 18, 21, 1, 23, 21, 25, 25, 27, 1, 29, 1, 31, 31, 33, 30, 35, 1, 37, 36, 39, 1, 41, 1, 43, 40, 45, 1, 47, 43, 49, 49, 51, 1, 53, 49, 55, 55, 57, 1, 59, 1, 61, 58, 63, 61, 65, 1, 67, 64, 69, 1, 71, 1, 73, 69, 75, 71, 77, 1, 79, 79, 81, 1, 83, 81, 85, 82, 87, 1, 89, 78]