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.

A226570 a(n) = Sum_{k=1..n} (k+1)! mod n.

Table of values

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

List of values

[0, 0, 2, 0, 2, 2, 4, 0, 8, 2, 10, 8, 8, 4, 2, 8, 11, 8, 7, 12, 11, 10, 19, 8, 12, 8, 8, 4, 15, 2, 0, 24, 32, 28, 32, 8, 3, 26, 8, 32, 2, 32, 14, 32, 17, 42, 16, 8, 46, 12, 11, 8, 11, 8, 32, 32, 26, 44, 26, 32, 20, 0, 53, 24, 47, 32, 63, 28, 65, 32, 66, 8, 53, 40, 62, 64, 32, 8, 18, 72, 62, 2, 25, 32, 62, 14, 44, 32, 74, 62, 60, 88, 62, 16, 7, 56, 78, 46, 98]