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.

A199806 Alternating LCM-sum: a(n) = Sum_{k=1..n} (-1)^(k-1)*lcm(k,n).

Table of values

n a(n)
1 1
2 0
3 0
4 8
5 -5
6 18
7 -14
8 80
9 -9
10 100
11 -44
12 204
13 -65
14 294
15 30
16 672
17 -119
18 540
19 -152
20 1040
21 63
22 1210
23 -230
24 1752
25 -75
26 2028
27 -54
28 2996
29 -377
30 2190
31 -434
32 5440
33 165
34 4624
35 280
36 5472
37 -629
38 6498
39 234
40 8800
41 -779
42 6300
43 -860
44 12188
45 225
46 11638
47 -1034
48 14256
49 -245
50 13000

List of values

[1, 0, 0, 8, -5, 18, -14, 80, -9, 100, -44, 204, -65, 294, 30, 672, -119, 540, -152, 1040, 63, 1210, -230, 1752, -75, 2028, -54, 2996, -377, 2190, -434, 5440, 165, 4624, 280, 5472, -629, 6498, 234, 8800, -779, 6300, -860, 12188, 225, 11638, -1034, 14256, -245, 13000]