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.

A024850 Let c(k) denote the k-th composite number and p(k) the k-th prime number; then a(n) = Sum_{i=n*(n-1)/2+1 .. n*(n+1)/2} c(i) - Sum_{i=1..n} p(i).

Table of values

n a(n)
1 2
2 9
3 21
4 46
5 84
6 135
7 206
8 308
9 429
10 583
11 772
12 987
13 1265
14 1552
15 1906
16 2308
17 2767
18 3278
19 3840
20 4478
21 5201
22 5956
23 6783
24 7704
25 8706
26 9777
27 10976
28 12241
29 13591
30 14985
31 16546
32 18230
33 20019
34 21862
35 23824
36 25907
37 28111
38 30474
39 32897
40 35482
41 38208
42 41125
43 44159
44 47239
45 50516
46 53944

List of values

[2, 9, 21, 46, 84, 135, 206, 308, 429, 583, 772, 987, 1265, 1552, 1906, 2308, 2767, 3278, 3840, 4478, 5201, 5956, 6783, 7704, 8706, 9777, 10976, 12241, 13591, 14985, 16546, 18230, 20019, 21862, 23824, 25907, 28111, 30474, 32897, 35482, 38208, 41125, 44159, 47239, 50516, 53944]