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.

A367175 a(n) = Sum_{d|n} (-1)^[d is prime] * d, where [] denotes the Iverson bracket.

Table of values

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

List of values

[1, -1, -2, 3, -4, 2, -6, 11, 7, 4, -10, 18, -12, 6, 8, 27, -16, 29, -18, 28, 12, 10, -22, 50, 21, 12, 34, 38, -28, 52, -30, 59, 20, 16, 24, 81, -36, 18, 24, 76, -40, 72, -42, 58, 62, 22, -46, 114, 43, 79, 32, 68, -52, 110, 40, 102, 36, 28, -58, 148, -60, 30]