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.

A176787 a(n) = (0!-1!+2!-3!....(-1)^(n-1)*(n-1)!) mod n.

Table of values

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

List of values

[0, 0, 2, 0, 0, 2, 4, 4, 8, 0, 5, 8, 0, 4, 5, 12, 9, 8, 15, 0, 11, 16, 19, 20, 20, 0, 17, 4, 20, 20, 10, 28, 5, 26, 25, 8, 0, 34, 26, 20, 2, 32, 6, 16, 35, 42, 7, 44, 11, 20, 26, 0, 21, 44, 5, 4, 53, 20, 33, 20, 49, 10, 53, 60, 0, 38, 6, 60, 65, 60, 65, 44, 16, 0, 20, 72, 60, 26, 5, 60, 17]