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.

A379815 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 16
3 9
4 0
5 20
6 12
7 441
8 64
9 16
10 90
11 1089
12 36
13 4212
14 98
15 225
16 0
17 272
18 144
19 549081
20 25
21 567
22 2156
23 13225
24 48
25 144
26 650
27 81
28 98
29 142100
30 150
31 71622369
32 256
33 363
34 578
35 1225
36 64
37 1332
38 684
39 468
40 360
41 41984
42 252
43 521345889
44 198
45 180
46 559682
47 108241
48 144
49 63
50 400
51 127449
52 117
53 1755572
54 108
55 2420
56 392
57 4275
58 568458

List of values

[0, 16, 9, 0, 20, 12, 441, 64, 16, 90, 1089, 36, 4212, 98, 225, 0, 272, 144, 549081, 25, 567, 2156, 13225, 48, 144, 650, 81, 98, 142100, 150, 71622369, 256, 363, 578, 1225, 64, 1332, 684, 468, 360, 41984, 252, 521345889, 198, 180, 559682, 108241, 144, 63, 400, 127449, 117, 1755572, 108, 2420, 392, 4275, 568458]