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.

A116568 Difference between n and the absolute value of the difference between number of nonprimes not exceeding n and number of primes not exceeding n.

Table of values

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

List of values

[0, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 10, 12, 12, 12, 12, 14, 14, 16, 16, 16, 16, 18, 18, 18, 18, 18, 18, 20, 20, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 26, 26, 28, 28, 28, 28, 30, 30, 30, 30, 30, 30, 32, 32, 32, 32, 32, 32, 34, 34, 36, 36, 36, 36, 36, 36, 38, 38, 38, 38, 40, 40, 42]