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.

A140154 a(1)=1, a(n) = a(n-1) + n^3 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 32
4 48
5 173
6 209
7 552
8 616
9 1345
10 1445
11 2776
12 2920
13 5117
14 5313
15 8688
16 8944
17 13857
18 14181
19 21040
20 21440
21 30701
22 31185
23 43352
24 43928
25 59553
26 60229
27 79912
28 80696
29 105085
30 105985
31 135776
32 136800
33 172737
34 173893
35 216768
36 218064
37 268717

List of values

[1, 5, 32, 48, 173, 209, 552, 616, 1345, 1445, 2776, 2920, 5117, 5313, 8688, 8944, 13857, 14181, 21040, 21440, 30701, 31185, 43352, 43928, 59553, 60229, 79912, 80696, 105085, 105985, 135776, 136800, 172737, 173893, 216768, 218064, 268717]