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.

A363367 a(n) is the least integer i >= 0 such that (i + 1) * (i + 2*n) / 2 = p^2, p prime number (A000040), or a(n) = -1 if no such i exists.

Table of values

n a(n)
0 -1
1 -1
2 2
3 4
4 0
5 -1
6 10
7 12
8 -1
9 0
10 18
11 -1
12 1
13 -1
14 -1
15 28
16 30
17 -1
18 -1
19 36
20 -1
21 40
22 42
23 -1
24 1
25 0
26 -1
27 52
28 -1
29 -1
30 58
31 60
32 -1
33 -1
34 66
35 -1
36 70
37 72
38 -1
39 -1
40 78
41 -1
42 82
43 -1
44 -1
45 88
46 -1
47 -1
48 -1
49 0
50 -1
51 100
52 102
53 -1
54 106
55 108
56 -1
57 112
58 -1
59 -1
60 1
61 -1
62 -1
63 -1
64 126
65 -1
66 130

List of values

[-1, -1, 2, 4, 0, -1, 10, 12, -1, 0, 18, -1, 1, -1, -1, 28, 30, -1, -1, 36, -1, 40, 42, -1, 1, 0, -1, 52, -1, -1, 58, 60, -1, -1, 66, -1, 70, 72, -1, -1, 78, -1, 82, -1, -1, 88, -1, -1, -1, 0, -1, 100, 102, -1, 106, 108, -1, 112, -1, -1, 1, -1, -1, -1, 126, -1, 130]