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.

A332682 a(n) = Sum_{k=1..n} (-1)^(k+1) * ceiling(n/k).

Table of values

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

List of values

[1, 1, 2, 3, 3, 4, 5, 6, 5, 7, 8, 9, 8, 9, 10, 13, 11, 12, 13, 14, 13, 16, 17, 18, 15, 17, 18, 21, 20, 21, 22, 23, 20, 23, 24, 27, 25, 26, 27, 30, 27, 28, 29, 30, 29, 34, 35, 36, 31, 33, 34, 37, 36, 37, 38, 41, 38, 41, 42, 43, 40, 41, 42, 47, 43, 46, 47, 48, 47, 50]