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.

A204187 a(n) = Sum_{m=1..n-1} m^(n-1) modulo n.

Table of values

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

List of values

[0, 1, 2, 0, 4, 3, 6, 0, 6, 5, 10, 0, 12, 7, 10, 0, 16, 9, 18, 0, 14, 11, 22, 0, 20, 13, 18, 0, 28, 15, 30, 0, 22, 17, 0, 0, 36, 19, 26, 0, 40, 21, 42, 0, 21, 23, 46, 0, 42, 25, 34, 0, 52, 27, 0, 0, 38, 29, 58, 0, 60, 31, 42, 0, 52, 33, 66, 0, 46, 35, 70, 0]