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.

A355798 Number of regions formed in a square by straight line segments when connecting the n-1 points between each corner that divide each edge into n equal parts to the n-1 points on the edge on the opposite side of the square.

Table of values

n a(n)
1 1
2 4
3 24
4 104
5 316
6 712
7 1588
8 2816
9 4940
10 7672
11 12444
12 16840
13 25968
14 34088
15 46260
16 61048
17 82792
18 98984
19 133032
20 156072
21 196236
22 239048
23 298292
24 334032
25 417072
26 483856
27 570200
28 649816
29 786412
30 850000
31 1037628
32 1145424
33 1311536
34 1485880
35 1677660
36 1828360
37 2158192
38 2357376
39 2623604
40 2852688

List of values

[1, 4, 24, 104, 316, 712, 1588, 2816, 4940, 7672, 12444, 16840, 25968, 34088, 46260, 61048, 82792, 98984, 133032, 156072, 196236, 239048, 298292, 334032, 417072, 483856, 570200, 649816, 786412, 850000, 1037628, 1145424, 1311536, 1485880, 1677660, 1828360, 2158192, 2357376, 2623604, 2852688]