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.

A062158 a(n) = n^3 - n^2 + n - 1 = (n-1) * (n^2 + 1).

Table of values

n a(n)
0 -1
1 0
2 5
3 20
4 51
5 104
6 185
7 300
8 455
9 656
10 909
11 1220
12 1595
13 2040
14 2561
15 3164
16 3855
17 4640
18 5525
19 6516
20 7619
21 8840
22 10185
23 11660
24 13271
25 15024
26 16925
27 18980
28 21195
29 23576
30 26129
31 28860
32 31775
33 34880
34 38181
35 41684
36 45395
37 49320
38 53465
39 57836
40 62439
41 67280
42 72365
43 77700
44 83291
45 89144
46 95265
47 101660

List of values

[-1, 0, 5, 20, 51, 104, 185, 300, 455, 656, 909, 1220, 1595, 2040, 2561, 3164, 3855, 4640, 5525, 6516, 7619, 8840, 10185, 11660, 13271, 15024, 16925, 18980, 21195, 23576, 26129, 28860, 31775, 34880, 38181, 41684, 45395, 49320, 53465, 57836, 62439, 67280, 72365, 77700, 83291, 89144, 95265, 101660]