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.

A342724 a(n) = Sum_{primes p <= 2n} of g(frac(n/p)), where g(t) = [0 if t = 0, -1 if 0 < t < 1/2, 1 if t >= 1/2], and where frac(x) denotes the fractional part.

Table of values

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

List of values

[1, 1, 2, 1, 3, 1, 1, 3, 4, 2, 5, 3, 4, 3, 2, 0, 4, 5, 5, 6, 5, 2, 5, 3, 4, 5, 5, 6, 9, 6, 5, 7, 10, 7, 9, 6, 6, 7, 9, 6, 7, 4, 6, 7, 6, 6, 9, 10, 10, 11, 10, 7, 12, 10, 9, 9, 8, 8, 11, 11, 11, 12, 12, 10, 13, 9, 11, 12, 11, 7, 9, 10, 13, 14, 13, 10, 12, 11, 10]