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.

A338546 For n > 0, a(n) is the number of 1's among the first T(n) terms of the sequence 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, ..., k 1's, k 0's, where T(n) is the n-th triangular number.

Table of values

n a(n)
1 1
2 2
3 3
4 6
5 9
6 11
7 15
8 21
9 24
10 28
11 36
12 42
13 46
14 55
15 65
16 70
17 78
18 91
19 99
20 105
21 120
22 133
23 140
24 153
25 171
26 180
27 190
28 210
29 225
30 234
31 253
32 275
33 285
34 300
35 325
36 341
37 352
38 378
39 402
40 414
41 435
42 465
43 481
44 496
45 528
46 553
47 567
48 595
49 630
50 645
51 666
52 703
53 728
54 744
55 780
56 816

List of values

[1, 2, 3, 6, 9, 11, 15, 21, 24, 28, 36, 42, 46, 55, 65, 70, 78, 91, 99, 105, 120, 133, 140, 153, 171, 180, 190, 210, 225, 234, 253, 275, 285, 300, 325, 341, 352, 378, 402, 414, 435, 465, 481, 496, 528, 553, 567, 595, 630, 645, 666, 703, 728, 744, 780, 816]