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.

A158851 a(n) = lcm(1,2,3,...,n) mod (n+1).

Table of values

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

List of values

[1, 2, 2, 2, 0, 4, 4, 3, 0, 1, 0, 4, 0, 0, 8, 5, 0, 14, 0, 0, 0, 15, 0, 5, 0, 18, 0, 1, 0, 20, 16, 0, 0, 0, 0, 2, 0, 0, 0, 15, 0, 15, 0, 0, 0, 8, 0, 21, 0, 0, 0, 29, 0, 0, 0, 0, 0, 21, 0, 16, 0, 0, 32, 0, 0, 29, 0, 0, 0, 23, 0, 22, 0, 0, 0, 0, 0, 30, 0, 54, 0, 71, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 0, 7, 0]