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.

A099407 Number of points of self-intersection of the path of a billiard ball traveling at a 45-degree angle on a prime(n) X prime(n+1) billiard table. Also equal to 1/2 the number of the lattice points lying within a prime(n) X prime(n+1) rectangle.

Table of values

n a(n)
1 1
2 4
3 12
4 30
5 60
6 96
7 144
8 198
9 308
10 420
11 540
12 720
13 840
14 966
15 1196
16 1508
17 1740
18 1980
19 2310
20 2520
21 2808
22 3198
23 3608
24 4224
25 4800
26 5100
27 5406
28 5724
29 6048
30 7056
31 8190
32 8840
33 9384
34 10212
35 11100
36 11700
37 12636
38 13446
39 14276
40 15308
41 16020
42 17100
43 18240
44 18816

List of values

[1, 4, 12, 30, 60, 96, 144, 198, 308, 420, 540, 720, 840, 966, 1196, 1508, 1740, 1980, 2310, 2520, 2808, 3198, 3608, 4224, 4800, 5100, 5406, 5724, 6048, 7056, 8190, 8840, 9384, 10212, 11100, 11700, 12636, 13446, 14276, 15308, 16020, 17100, 18240, 18816]