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.

A140113 a(1)=1, a(n)=a(n-1)+n if n odd, a(n)=a(n-1)+ n^2 if n is even.

Table of values

n a(n)
1 1
2 5
3 8
4 24
5 29
6 65
7 72
8 136
9 145
10 245
11 256
12 400
13 413
14 609
15 624
16 880
17 897
18 1221
19 1240
20 1640
21 1661
22 2145
23 2168
24 2744
25 2769
26 3445
27 3472
28 4256
29 4285
30 5185
31 5216
32 6240
33 6273
34 7429
35 7464
36 8760
37 8797
38 10241
39 10280
40 11880
41 11921
42 13685
43 13728
44 15664
45 15709

List of values

[1, 5, 8, 24, 29, 65, 72, 136, 145, 245, 256, 400, 413, 609, 624, 880, 897, 1221, 1240, 1640, 1661, 2145, 2168, 2744, 2769, 3445, 3472, 4256, 4285, 5185, 5216, 6240, 6273, 7429, 7464, 8760, 8797, 10241, 10280, 11880, 11921, 13685, 13728, 15664, 15709]