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.

A118030 a(1)=1. a(n) = a(n-1) + (largest integer which is <= n and occurs among the earlier terms of the sequence).

Table of values

n a(n)
1 1
2 2
3 4
4 8
5 12
6 16
7 20
8 28
9 36
10 44
11 52
12 64
13 76
14 88
15 100
16 116
17 132
18 148
19 164
20 184
21 204
22 224
23 244
24 264
25 284
26 304
27 324
28 352
29 380
30 408
31 436
32 464
33 492
34 520
35 548
36 584
37 620
38 656
39 692
40 728
41 764
42 800
43 836
44 880
45 924
46 968
47 1012
48 1056
49 1100
50 1144
51 1188
52 1240
53 1292
54 1344
55 1396
56 1448
57 1500
58 1552
59 1604
60 1656
61 1708
62 1760

List of values

[1, 2, 4, 8, 12, 16, 20, 28, 36, 44, 52, 64, 76, 88, 100, 116, 132, 148, 164, 184, 204, 224, 244, 264, 284, 304, 324, 352, 380, 408, 436, 464, 492, 520, 548, 584, 620, 656, 692, 728, 764, 800, 836, 880, 924, 968, 1012, 1056, 1100, 1144, 1188, 1240, 1292, 1344, 1396, 1448, 1500, 1552, 1604, 1656, 1708, 1760]