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.

A227849 a(n) = 2 * floor( 3/14 * n^2) if n even, a(n) = 2 * round( 3/14 * n^2) -1 if n odd.

Table of values

n a(n)
0 0
1 -1
2 0
3 3
4 6
5 9
6 14
7 21
8 26
9 33
10 42
11 51
12 60
13 71
14 84
15 95
16 108
17 123
18 138
19 153
20 170
21 189
22 206
23 225
24 246
25 267
26 288
27 311
28 336
29 359
30 384
31 411
32 438
33 465
34 494
35 525
36 554
37 585
38 618
39 651
40 684
41 719
42 756
43 791
44 828
45 867
46 906
47 945
48 986
49 1029
50 1070
51 1113
52 1158
53 1203
54 1248

List of values

[0, -1, 0, 3, 6, 9, 14, 21, 26, 33, 42, 51, 60, 71, 84, 95, 108, 123, 138, 153, 170, 189, 206, 225, 246, 267, 288, 311, 336, 359, 384, 411, 438, 465, 494, 525, 554, 585, 618, 651, 684, 719, 756, 791, 828, 867, 906, 945, 986, 1029, 1070, 1113, 1158, 1203, 1248]