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.

A048866 Difference between number of nonprimes and primes in reduced residue system of n.

Table of values

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

List of values

[1, 1, 0, 0, 0, 0, 0, -2, 0, 0, 2, -2, 2, -2, 0, -2, 4, -4, 4, -4, 0, -2, 6, -6, 4, -2, 2, -2, 10, -6, 10, -4, 2, -2, 6, -6, 14, -2, 4, -4, 16, -8, 16, -4, 0, -2, 18, -10, 14, -6, 6, -2, 22, -10, 12, -4, 8, 0, 26, -12, 26, -2, 4, -2, 16, -10, 30, -2, 10, -8, 32, -12, 32, -2, 2, -2]