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.

A379816 a(n) is the smallest integer k > n such that sqrt(1/n - 1/k) is a rational number; or 0 if no such k exists.

Table of values

n a(n)
1 0
2 4
3 12
4 0
5 25
6 18
7 448
8 16
9 12
10 100
11 1100
12 18
13 4225
14 112
15 240
16 18
17 289
18 36
19 549100
20 25
21 588
22 2178
23 13248
24 72
25 45
26 676
27 108
28 126
29 142129
30 180
31 71622400
32 64
33 396
34 612
35 1260
36 48
37 1369
38 722
39 507
40 400
41 42025
42 294
43 521345932
44 242
45 225
46 559728
47 108288
48 72
49 112
50 100
51 127500
52 169
53 1755625
54 162
55 2475
56 448
57 4332
58 568516
59 16573100
60 150

List of values

[0, 4, 12, 0, 25, 18, 448, 16, 12, 100, 1100, 18, 4225, 112, 240, 18, 289, 36, 549100, 25, 588, 2178, 13248, 72, 45, 676, 108, 126, 142129, 180, 71622400, 64, 396, 612, 1260, 48, 1369, 722, 507, 400, 42025, 294, 521345932, 242, 225, 559728, 108288, 72, 112, 100, 127500, 169, 1755625, 162, 2475, 448, 4332, 568516, 16573100, 150]