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.

A108154 a(n) = n^2 - n + 1 if prime else 0.

Table of values

n a(n)
1 0
2 3
3 7
4 13
5 0
6 31
7 43
8 0
9 73
10 0
11 0
12 0
13 157
14 0
15 211
16 241
17 0
18 307
19 0
20 0
21 421
22 463
23 0
24 0
25 601
26 0
27 0
28 757
29 0
30 0
31 0
32 0
33 0
34 1123
35 0
36 0
37 0
38 0
39 1483
40 0
41 0
42 1723
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 2551
52 0
53 0
54 0
55 2971
56 0
57 0
58 3307
59 0
60 3541
61 0
62 0
63 3907
64 0
65 0
66 0
67 4423
68 0
69 0
70 4831
71 0
72 5113
73 0
74 0
75 0
76 5701
77 0

List of values

[0, 3, 7, 13, 0, 31, 43, 0, 73, 0, 0, 0, 157, 0, 211, 241, 0, 307, 0, 0, 421, 463, 0, 0, 601, 0, 0, 757, 0, 0, 0, 0, 0, 1123, 0, 0, 0, 0, 1483, 0, 0, 1723, 0, 0, 0, 0, 0, 0, 0, 0, 2551, 0, 0, 0, 2971, 0, 0, 3307, 0, 3541, 0, 0, 3907, 0, 0, 0, 4423, 0, 0, 4831, 0, 5113, 0, 0, 0, 5701, 0]