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.

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

Table of values

n a(n)
1 1
2 2
3 11
4 12
5 37
6 38
7 87
8 88
9 169
10 170
11 291
12 292
13 461
14 462
15 687
16 688
17 977
18 978
19 1339
20 1340
21 1781
22 1782
23 2311
24 2312
25 2937
26 2938
27 3667
28 3668
29 4509
30 4510
31 5471
32 5472
33 6561
34 6562
35 7787
36 7788
37 9157
38 9158
39 10679
40 10680
41 12361
42 12362
43 14211
44 14212
45 16237

List of values

[1, 2, 11, 12, 37, 38, 87, 88, 169, 170, 291, 292, 461, 462, 687, 688, 977, 978, 1339, 1340, 1781, 1782, 2311, 2312, 2937, 2938, 3667, 3668, 4509, 4510, 5471, 5472, 6561, 6562, 7787, 7788, 9157, 9158, 10679, 10680, 12361, 12362, 14211, 14212, 16237]